MPSNNAdditionGradientNode.Create 方法

定义

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

参数

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
isSecondarySourceFilter
Boolean

返回

属性

适用于