MPSNNSubtractionGradientNode.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- gradientState
- MPSNNBinaryGradientStateNode
- isSecondarySourceFilter
- Boolean
Returns
- Attributes