MPSNNBinaryGradientState.CreateTemporaryState Method
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
CreateTemporaryState(IMTLCommandBuffer)
[Foundation.Export("temporaryStateWithCommandBuffer:")]
public static MetalPerformanceShaders.MPSNNBinaryGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer);
static member CreateTemporaryState : Metal.IMTLCommandBuffer -> MetalPerformanceShaders.MPSNNBinaryGradientState
Parameters
- commandBuffer
- IMTLCommandBuffer
Returns
- Attributes
Applies to
CreateTemporaryState(IMTLCommandBuffer, MTLTextureDescriptor)
[Foundation.Export("temporaryStateWithCommandBuffer:textureDescriptor:")]
public static MetalPerformanceShaders.MPSNNBinaryGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, Metal.MTLTextureDescriptor descriptor);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSNNBinaryGradientState
Parameters
- commandBuffer
- IMTLCommandBuffer
- descriptor
- MTLTextureDescriptor
Returns
- Attributes
Applies to
CreateTemporaryState(IMTLCommandBuffer, MPSStateResourceList)
[Foundation.Export("temporaryStateWithCommandBuffer:resourceList:")]
public static MetalPerformanceShaders.MPSNNBinaryGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSStateResourceList resourceList);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSNNBinaryGradientState
Parameters
- commandBuffer
- IMTLCommandBuffer
- resourceList
- MPSStateResourceList
Returns
- Attributes
Applies to
CreateTemporaryState(IMTLCommandBuffer, nuint)
[Foundation.Export("temporaryStateWithCommandBuffer:bufferSize:")]
public static MetalPerformanceShaders.MPSNNBinaryGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, nuint bufferSize);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * nuint -> MetalPerformanceShaders.MPSNNBinaryGradientState
Parameters
- commandBuffer
- IMTLCommandBuffer
- bufferSize
- System.System.UIntPtr System.unativeint
Returns
- Attributes