共用方式為


MPSNNPad 建構函式

定義

多載

MPSNNPad(NSCoder)
MPSNNPad(NSObjectFlag)
MPSNNPad(IMTLDevice)
MPSNNPad(IntPtr)
MPSNNPad(NSCoder, IMTLDevice)
MPSNNPad(IMTLDevice, MPSImageCoordinate, MPSImageCoordinate)
MPSNNPad(IMTLDevice, MPSImageCoordinate, MPSImageCoordinate, NSData)

MPSNNPad(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public MPSNNPad (Foundation.NSCoder coder);
new MetalPerformanceShaders.MPSNNPad : Foundation.NSCoder -> MetalPerformanceShaders.MPSNNPad

參數

coder
NSCoder
屬性

適用於

MPSNNPad(NSObjectFlag)

protected MPSNNPad (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSNNPad : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSNNPad

參數

適用於

MPSNNPad(IMTLDevice)

[Foundation.Export("initWithDevice:")]
public MPSNNPad (Metal.IMTLDevice device);
new MetalPerformanceShaders.MPSNNPad : Metal.IMTLDevice -> MetalPerformanceShaders.MPSNNPad

參數

device
IMTLDevice
屬性

適用於

MPSNNPad(IntPtr)

protected internal MPSNNPad (IntPtr handle);
new MetalPerformanceShaders.MPSNNPad : nativeint -> MetalPerformanceShaders.MPSNNPad

參數

handle
IntPtr

nativeint

適用於

MPSNNPad(NSCoder, IMTLDevice)

[Foundation.Export("initWithCoder:device:")]
[ObjCRuntime.DesignatedInitializer]
public MPSNNPad (Foundation.NSCoder decoder, Metal.IMTLDevice device);
new MetalPerformanceShaders.MPSNNPad : Foundation.NSCoder * Metal.IMTLDevice -> MetalPerformanceShaders.MPSNNPad

參數

decoder
NSCoder
device
IMTLDevice
屬性

適用於

MPSNNPad(IMTLDevice, MPSImageCoordinate, MPSImageCoordinate)

[Foundation.Export("initWithDevice:paddingSizeBefore:paddingSizeAfter:")]
public MPSNNPad (Metal.IMTLDevice device, MetalPerformanceShaders.MPSImageCoordinate paddingSizeBefore, MetalPerformanceShaders.MPSImageCoordinate paddingSizeAfter);
new MetalPerformanceShaders.MPSNNPad : Metal.IMTLDevice * MetalPerformanceShaders.MPSImageCoordinate * MetalPerformanceShaders.MPSImageCoordinate -> MetalPerformanceShaders.MPSNNPad

參數

device
IMTLDevice
paddingSizeBefore
MPSImageCoordinate
paddingSizeAfter
MPSImageCoordinate
屬性

適用於

MPSNNPad(IMTLDevice, MPSImageCoordinate, MPSImageCoordinate, NSData)

[Foundation.Export("initWithDevice:paddingSizeBefore:paddingSizeAfter:fillValueArray:")]
[ObjCRuntime.DesignatedInitializer]
public MPSNNPad (Metal.IMTLDevice device, MetalPerformanceShaders.MPSImageCoordinate paddingSizeBefore, MetalPerformanceShaders.MPSImageCoordinate paddingSizeAfter, Foundation.NSData fillValueArray);
new MetalPerformanceShaders.MPSNNPad : Metal.IMTLDevice * MetalPerformanceShaders.MPSImageCoordinate * MetalPerformanceShaders.MPSImageCoordinate * Foundation.NSData -> MetalPerformanceShaders.MPSNNPad

參數

device
IMTLDevice
paddingSizeBefore
MPSImageCoordinate
paddingSizeAfter
MPSImageCoordinate
fillValueArray
NSData
屬性

適用於