Upravit

Sdílet prostřednictvím


MPSNNGradientState Constructors

Definition

Overloads

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

Parameters

Applies to

MPSNNGradientState(IMTLResource)

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

Parameters

resource
IMTLResource
Attributes

Applies to

MPSNNGradientState(IMTLResource[])

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

Parameters

resources
IMTLResource[]
Attributes

Applies to

MPSNNGradientState(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

MPSNNGradientState(IMTLDevice, MTLTextureDescriptor)

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

Parameters

device
IMTLDevice
Attributes

Applies to

MPSNNGradientState(IMTLDevice, MPSStateResourceList)

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

Parameters

device
IMTLDevice
resourceList
MPSStateResourceList
Attributes

Applies to

MPSNNGradientState(IMTLDevice, nuint)

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

Parameters

device
IMTLDevice
bufferSize
System.System.UIntPtr System.unativeint
Attributes

Applies to