Share via


MPSNNArithmeticGradientNode.Create Method

Definition

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

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
isSecondarySourceFilter
Boolean

Returns

Attributes

Applies to