Modifier

Partager via


MPSNNBinaryGradientState Constructors

Definition

Overloads

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

MPSNNBinaryGradientState(NSObjectFlag)

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

Parameters

Applies to

MPSNNBinaryGradientState(IMTLResource)

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

Parameters

resource
IMTLResource
Attributes

Applies to

MPSNNBinaryGradientState(IMTLResource[])

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

Parameters

resources
IMTLResource[]
Attributes

Applies to

MPSNNBinaryGradientState(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

MPSNNBinaryGradientState(IMTLDevice, MTLTextureDescriptor)

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

Parameters

device
IMTLDevice
Attributes

Applies to

MPSNNBinaryGradientState(IMTLDevice, MPSStateResourceList)

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

Parameters

device
IMTLDevice
resourceList
MPSStateResourceList
Attributes

Applies to

MPSNNBinaryGradientState(IMTLDevice, nuint)

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

Parameters

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

Applies to