MPSNNGradientState.CreateTemporaryState Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateTemporaryState(IMTLCommandBuffer)
[Foundation.Export("temporaryStateWithCommandBuffer:")]
public static MetalPerformanceShaders.MPSNNGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer);
static member CreateTemporaryState : Metal.IMTLCommandBuffer -> MetalPerformanceShaders.MPSNNGradientState
Parâmetros
- commandBuffer
- IMTLCommandBuffer
Retornos
- Atributos
Aplica-se a
CreateTemporaryState(IMTLCommandBuffer, MTLTextureDescriptor)
[Foundation.Export("temporaryStateWithCommandBuffer:textureDescriptor:")]
public static MetalPerformanceShaders.MPSNNGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, Metal.MTLTextureDescriptor descriptor);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSNNGradientState
Parâmetros
- commandBuffer
- IMTLCommandBuffer
- descriptor
- MTLTextureDescriptor
Retornos
- Atributos
Aplica-se a
CreateTemporaryState(IMTLCommandBuffer, MPSStateResourceList)
[Foundation.Export("temporaryStateWithCommandBuffer:resourceList:")]
public static MetalPerformanceShaders.MPSNNGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSStateResourceList resourceList);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSNNGradientState
Parâmetros
- commandBuffer
- IMTLCommandBuffer
- resourceList
- MPSStateResourceList
Retornos
- Atributos
Aplica-se a
CreateTemporaryState(IMTLCommandBuffer, nuint)
[Foundation.Export("temporaryStateWithCommandBuffer:bufferSize:")]
public static MetalPerformanceShaders.MPSNNGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, nuint bufferSize);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * nuint -> MetalPerformanceShaders.MPSNNGradientState
Parâmetros
- commandBuffer
- IMTLCommandBuffer
- bufferSize
- System.System.UIntPtr System.unativeint
Retornos
- Atributos