Edit

Share via


MPSNNSubtractionGradientNode.Create Method

Definition

[Foundation.Export("nodeWithSourceGradient:sourceImage:gradientState:isSecondarySourceFilter:")]
public static MetalPerformanceShaders.MPSNNSubtractionGradientNode Create (MetalPerformanceShaders.MPSNNImageNode sourceGradient, MetalPerformanceShaders.MPSNNImageNode sourceImage, MetalPerformanceShaders.MPSNNBinaryGradientStateNode gradientState, bool isSecondarySourceFilter);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNBinaryGradientStateNode * bool -> MetalPerformanceShaders.MPSNNSubtractionGradientNode

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
isSecondarySourceFilter
Boolean

Returns

Attributes

Applies to