Partager via


MPSNNSubtractionGradientNode.Create Méthode

Définition

[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

Paramètres

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
isSecondarySourceFilter
Boolean

Retours

Attributs

S’applique à