MPSCnnUpsamplingNearestNode.Create(MPSNNImageNode, UIntPtr, UIntPtr) 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("nodeWithSource:integerScaleFactorX:integerScaleFactorY:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnUpsamplingNearestNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode, UIntPtr integerScaleFactorX, UIntPtr integerScaleFactorY);
[<Foundation.Export("nodeWithSource:integerScaleFactorX:integerScaleFactorY:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * unativeint * unativeint -> MetalPerformanceShaders.MPSCnnUpsamplingNearestNode
Parameters
- sourceNode
- MPSNNImageNode
- integerScaleFactorX
-
UIntPtr
unativeint
- integerScaleFactorY
-
UIntPtr
unativeint
Returns
- Attributes