MPSState.CreateTemporaryState Method

Definition

Overloads

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

CreateTemporaryState(IMTLCommandBuffer, MPSStateResourceList)

[Foundation.Export("temporaryStateWithCommandBuffer:resourceList:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSStateResourceList resourceList);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer
resourceList
MPSStateResourceList

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer, nuint)

[Foundation.Export("temporaryStateWithCommandBuffer:bufferSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, nuint bufferSize);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * nuint -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer
bufferSize
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer)

[Foundation.Export("temporaryStateWithCommandBuffer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer);
static member CreateTemporaryState : Metal.IMTLCommandBuffer -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer

Returns

Attributes

Applies to

CreateTemporaryState(IMTLCommandBuffer, MTLTextureDescriptor)

[Foundation.Export("temporaryStateWithCommandBuffer:textureDescriptor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static MetalPerformanceShaders.MPSState CreateTemporaryState (Metal.IMTLCommandBuffer commandBuffer, Metal.MTLTextureDescriptor descriptor);
static member CreateTemporaryState : Metal.IMTLCommandBuffer * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSState

Parameters

commandBuffer
IMTLCommandBuffer

Returns

Attributes

Applies to