MPSNNGradientState 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
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
- descriptor
- MTLTextureDescriptor
- 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