共用方式為


MPSCnnGradientKernel 建構函式

定義

多載

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
屬性

適用於