Edytuj

Udostępnij za pośrednictwem


MTLComputePipelineState_Extensions Class

Definition

Extension methods to the IMTLComputePipelineState interface to support all the methods from the IMTLComputePipelineState protocol.

public static class MTLComputePipelineState_Extensions
type MTLComputePipelineState_Extensions = class
Inheritance
MTLComputePipelineState_Extensions

Remarks

The extension methods for IMTLComputePipelineState allow developers to treat instances of the interface as having all the optional methods of the original IMTLComputePipelineState protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetImageblockMemoryLength(IMTLComputePipelineState, MTLSize)
GetLabel(IMTLComputePipelineState)

Returns the descriptive label for the compute pipeline state.

GetStaticThreadgroupMemoryLength(IMTLComputePipelineState)

Applies to