MPSNNPad 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- 屬性