共用方式為


MPSNNPadNode.Create 方法

定義

[Foundation.Export("nodeWithSource:paddingSizeBefore:paddingSizeAfter:edgeMode:")]
public static MetalPerformanceShaders.MPSNNPadNode Create (MetalPerformanceShaders.MPSNNImageNode source, MetalPerformanceShaders.MPSImageCoordinate paddingSizeBefore, MetalPerformanceShaders.MPSImageCoordinate paddingSizeAfter, MetalPerformanceShaders.MPSImageEdgeMode edgeMode);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSImageCoordinate * MetalPerformanceShaders.MPSImageCoordinate * MetalPerformanceShaders.MPSImageEdgeMode -> MetalPerformanceShaders.MPSNNPadNode

參數

paddingSizeBefore
MPSImageCoordinate
paddingSizeAfter
MPSImageCoordinate
edgeMode
MPSImageEdgeMode

傳回

屬性

適用於