MPSNNBinaryGradientState Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- descriptor
- MTLTextureDescriptor
- 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