Share via


MTLIndirectRenderCommand_Extensions Class

Definition

Extension methods to the IMTLIndirectRenderCommand interface to support all the methods from the MTLIndirectRenderCommand protocol.

public static class MTLIndirectRenderCommand_Extensions
type MTLIndirectRenderCommand_Extensions = class
Inheritance
MTLIndirectRenderCommand_Extensions

Remarks

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

Methods

Name Description
ClearBarrier(IMTLIndirectRenderCommand)
DrawMeshThreadgroups(IMTLIndirectRenderCommand, MTLSize, MTLSize, MTLSize)
DrawMeshThreads(IMTLIndirectRenderCommand, MTLSize, MTLSize, MTLSize)
SetBarrier(IMTLIndirectRenderCommand)
SetCullMode(IMTLIndirectRenderCommand, MTLCullMode)
SetDepthBias(IMTLIndirectRenderCommand, Single, Single, Single)
SetDepthClipMode(IMTLIndirectRenderCommand, MTLDepthClipMode)
SetDepthStencilState(IMTLIndirectRenderCommand, IMTLDepthStencilState)
SetFrontFacingWinding(IMTLIndirectRenderCommand, MTLWinding)
SetMeshBuffer(IMTLIndirectRenderCommand, IMTLBuffer, UIntPtr, UIntPtr)
SetObjectBuffer(IMTLIndirectRenderCommand, IMTLBuffer, UIntPtr, UIntPtr)
SetObjectThreadgroupMemoryLength(IMTLIndirectRenderCommand, UIntPtr, UIntPtr)
SetTriangleFillMode(IMTLIndirectRenderCommand, MTLTriangleFillMode)
SetVertexBuffer(IMTLIndirectRenderCommand, IMTLBuffer, UIntPtr, UIntPtr, UIntPtr)

Applies to