次の方法で共有


MPSNNGradientState コンストラクター

定義

オーバーロード

MPSNNGradientState(NSObjectFlag)
MPSNNGradientState(IMTLResource)
MPSNNGradientState(IMTLResource[])
MPSNNGradientState(IntPtr)
MPSNNGradientState(IMTLDevice, MTLTextureDescriptor)
MPSNNGradientState(IMTLDevice, MPSStateResourceList)
MPSNNGradientState(IMTLDevice, nuint)

MPSNNGradientState(NSObjectFlag)

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

パラメーター

適用対象

MPSNNGradientState(IMTLResource)

[Foundation.Export("initWithResource:")]
public MPSNNGradientState (Metal.IMTLResource resource);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLResource -> MetalPerformanceShaders.MPSNNGradientState

パラメーター

resource
IMTLResource
属性

適用対象

MPSNNGradientState(IMTLResource[])

[Foundation.Export("initWithResources:")]
public MPSNNGradientState (Metal.IMTLResource[] resources);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLResource[] -> MetalPerformanceShaders.MPSNNGradientState

パラメーター

resources
IMTLResource[]
属性

適用対象

MPSNNGradientState(IntPtr)

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

パラメーター

handle
IntPtr

nativeint

適用対象

MPSNNGradientState(IMTLDevice, MTLTextureDescriptor)

[Foundation.Export("initWithDevice:textureDescriptor:")]
public MPSNNGradientState (Metal.IMTLDevice device, Metal.MTLTextureDescriptor descriptor);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLDevice * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSNNGradientState

パラメーター

device
IMTLDevice
属性

適用対象

MPSNNGradientState(IMTLDevice, MPSStateResourceList)

[Foundation.Export("initWithDevice:resourceList:")]
public MPSNNGradientState (Metal.IMTLDevice device, MetalPerformanceShaders.MPSStateResourceList resourceList);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLDevice * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSNNGradientState

パラメーター

device
IMTLDevice
resourceList
MPSStateResourceList
属性

適用対象

MPSNNGradientState(IMTLDevice, nuint)

[Foundation.Export("initWithDevice:bufferSize:")]
public MPSNNGradientState (Metal.IMTLDevice device, nuint bufferSize);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLDevice * nuint -> MetalPerformanceShaders.MPSNNGradientState

パラメーター

device
IMTLDevice
bufferSize
System.System.UIntPtr System.unativeint
属性

適用対象