MPSNNFilterNode.GetFilter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetFilter(MPSNNImageNode) | |
GetFilter(MPSNNImageNode[]) |
GetFilter(MPSNNImageNode)
[Foundation.Export("gradientFilterWithSource:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual MetalPerformanceShaders.MPSNNGradientFilterNode GetFilter (MetalPerformanceShaders.MPSNNImageNode gradientImageSource);
abstract member GetFilter : MetalPerformanceShaders.MPSNNImageNode -> MetalPerformanceShaders.MPSNNGradientFilterNode
override this.GetFilter : MetalPerformanceShaders.MPSNNImageNode -> MetalPerformanceShaders.MPSNNGradientFilterNode
参数
- gradientImageSource
- MPSNNImageNode
返回
- 属性
适用于
GetFilter(MPSNNImageNode[])
[Foundation.Export("gradientFilterWithSources:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual MetalPerformanceShaders.MPSNNGradientFilterNode GetFilter (MetalPerformanceShaders.MPSNNImageNode[] gradientImagesSources);
abstract member GetFilter : MetalPerformanceShaders.MPSNNImageNode[] -> MetalPerformanceShaders.MPSNNGradientFilterNode
override this.GetFilter : MetalPerformanceShaders.MPSNNImageNode[] -> MetalPerformanceShaders.MPSNNGradientFilterNode
参数
- gradientImagesSources
- MPSNNImageNode[]
返回
- 属性