Share via


MPSState.CreateTemporaryState Method

Definition

Overloads

CreateTemporaryState(IMTLCommandBuffer, MPSStateResourceList)

[Foundation.Export("temporaryStateWithCommandBuffer:resourceList:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSStateResourceList resourceList);
[<Foundation.Export("temporaryStateWithCommandBuffer:resourceList:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateTemporaryState : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer
resourceList
MPSStateResourceList

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer, UIntPtr)

[Foundation.Export("temporaryStateWithCommandBuffer:bufferSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState(Metal.IMTLCommandBuffer commandBuffer, UIntPtr bufferSize);
[<Foundation.Export("temporaryStateWithCommandBuffer:bufferSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateTemporaryState : Metal.IMTLCommandBuffer * unativeint -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer
bufferSize
UIntPtr

unativeint

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer)

[Foundation.Export("temporaryStateWithCommandBuffer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState(Metal.IMTLCommandBuffer commandBuffer);
[<Foundation.Export("temporaryStateWithCommandBuffer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateTemporaryState : Metal.IMTLCommandBuffer -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer, MTLTextureDescriptor)

[Foundation.Export("temporaryStateWithCommandBuffer:textureDescriptor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState(Metal.IMTLCommandBuffer commandBuffer, Metal.MTLTextureDescriptor descriptor);
[<Foundation.Export("temporaryStateWithCommandBuffer:textureDescriptor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateTemporaryState : Metal.IMTLCommandBuffer * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer

Returns

Attributes

Applies to