Edit

Share via


MPSNNArithmeticGradientNode.Create Method

Definition

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

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
isSecondarySourceFilter
Boolean

Returns

Attributes

Applies to