MPSCnnGradientKernel 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MPSCnnGradientKernel(NSCoder) | |
MPSCnnGradientKernel(NSObjectFlag) | |
MPSCnnGradientKernel(IMTLDevice) | |
MPSCnnGradientKernel(IntPtr) | |
MPSCnnGradientKernel(NSCoder, IMTLDevice) |
MPSCnnGradientKernel(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnGradientKernel (Foundation.NSCoder coder);
new MetalPerformanceShaders.MPSCnnGradientKernel : Foundation.NSCoder -> MetalPerformanceShaders.MPSCnnGradientKernel
參數
- coder
- NSCoder
- 屬性
適用於
MPSCnnGradientKernel(NSObjectFlag)
protected MPSCnnGradientKernel (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSCnnGradientKernel : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSCnnGradientKernel
參數
適用於
MPSCnnGradientKernel(IMTLDevice)
[Foundation.Export("initWithDevice:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnGradientKernel (Metal.IMTLDevice device);
new MetalPerformanceShaders.MPSCnnGradientKernel : Metal.IMTLDevice -> MetalPerformanceShaders.MPSCnnGradientKernel
參數
- device
- IMTLDevice
- 屬性
適用於
MPSCnnGradientKernel(IntPtr)
protected internal MPSCnnGradientKernel (IntPtr handle);
new MetalPerformanceShaders.MPSCnnGradientKernel : nativeint -> MetalPerformanceShaders.MPSCnnGradientKernel
參數
- handle
-
IntPtr
nativeint
適用於
MPSCnnGradientKernel(NSCoder, IMTLDevice)
[Foundation.Export("initWithCoder:device:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnGradientKernel (Foundation.NSCoder decoder, Metal.IMTLDevice device);
new MetalPerformanceShaders.MPSCnnGradientKernel : Foundation.NSCoder * Metal.IMTLDevice -> MetalPerformanceShaders.MPSCnnGradientKernel
參數
- decoder
- NSCoder
- device
- IMTLDevice
- 屬性