Поделиться через


MPSNNGradientState.CreateTemporaryState Метод

Определение

Перегрузки

CreateTemporaryState(IMTLCommandBuffer)
CreateTemporaryState(IMTLCommandBuffer, MTLTextureDescriptor)
CreateTemporaryState(IMTLCommandBuffer, MPSStateResourceList)
CreateTemporaryState(IMTLCommandBuffer, nuint)

CreateTemporaryState(IMTLCommandBuffer)

[Foundation.Export("temporaryStateWithCommandBuffer:")]
public static MetalPerformanceShaders.MPSNNGradientState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer);
static member CreateTemporaryState : Metal.IMTLCommandBuffer -> MetalPerformanceShaders.MPSNNGradientState

Параметры

commandBuffer
IMTLCommandBuffer

Возвращаемое значение

Атрибуты

Применяется к

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

Параметры

commandBuffer
IMTLCommandBuffer

Возвращаемое значение

Атрибуты

Применяется к

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

Параметры

commandBuffer
IMTLCommandBuffer
resourceList
MPSStateResourceList

Возвращаемое значение

Атрибуты

Применяется к

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

Параметры

commandBuffer
IMTLCommandBuffer
bufferSize
System.System.UIntPtr System.unativeint

Возвращаемое значение

Атрибуты

Применяется к