Modifica

Condividi tramite


MTLRenderCommandEncoder_Extensions Class

Definition

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

public static class MTLRenderCommandEncoder_Extensions
type MTLRenderCommandEncoder_Extensions = class
Inheritance
MTLRenderCommandEncoder_Extensions

Remarks

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

Methods

DispatchThreadsPerTile(IMTLRenderCommandEncoder, MTLSize)
DrawIndexedPatches(IMTLRenderCommandEncoder, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint)
DrawIndexedPatches(IMTLRenderCommandEncoder, nuint, nuint, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint, nuint, nuint)
DrawIndexedPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, MTLIndexType, IMTLBuffer, nuint, IMTLBuffer, nuint)
DrawIndexedPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, MTLIndexType, IMTLBuffer, nuint, nuint, nint, nuint)
DrawPatches(IMTLRenderCommandEncoder, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint)
DrawPatches(IMTLRenderCommandEncoder, nuint, nuint, nuint, IMTLBuffer, nuint, nuint, nuint)
DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint)

Draws a range of primitives.

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, nuint, nuint, nuint)

Draws a range of primitives.

ExecuteCommands(IMTLRenderCommandEncoder, IMTLIndirectCommandBuffer, IMTLBuffer, nuint)
ExecuteCommands(IMTLRenderCommandEncoder, IMTLIndirectCommandBuffer, NSRange)
GetTileHeight(IMTLRenderCommandEncoder)
GetTileWidth(IMTLRenderCommandEncoder)
MemoryBarrier(IMTLRenderCommandEncoder, IMTLResource[], nuint, MTLRenderStages, MTLRenderStages)
MemoryBarrier(IMTLRenderCommandEncoder, MTLBarrierScope, MTLRenderStages, MTLRenderStages)
SetColorStoreAction(IMTLRenderCommandEncoder, MTLStoreAction, nuint)

Sets a value that controls how color results are handled after a rendering pass.

SetColorStoreActionOptions(IMTLRenderCommandEncoder, MTLStoreActionOptions, nuint)

Sets the store action options on the color attachment at the specified index.

SetDepthClipMode(IMTLRenderCommandEncoder, MTLDepthClipMode)

Sets a value that controls how clipped values are handled.

SetDepthStoreAction(IMTLRenderCommandEncoder, MTLStoreAction)

Sets a value that controls how depth results are handled after a rendering pass.

SetDepthStoreActionOptions(IMTLRenderCommandEncoder, MTLStoreActionOptions)

Sets the store action options on the depth attachment.

SetScissorRects(IMTLRenderCommandEncoder, IntPtr, nuint)
SetStencilFrontReferenceValue(IMTLRenderCommandEncoder, UInt32, UInt32)

Sets the front and back reference stencil values.

SetStencilStoreAction(IMTLRenderCommandEncoder, MTLStoreAction)

Sets a value that controls how stencil results are handled after a rendering pass.

SetStencilStoreActionOptions(IMTLRenderCommandEncoder, MTLStoreActionOptions)

Sets the store action options on the stencil attachment.

SetTessellationFactorBuffer(IMTLRenderCommandEncoder, IMTLBuffer, nuint, nuint)

Sets the offset and stride value for a tessellation buffer.

SetTessellationFactorScale(IMTLRenderCommandEncoder, Single)

Sets the offset and stride value for a tessellation buffer.

SetThreadgroupMemoryLength(IMTLRenderCommandEncoder, nuint, nuint, nuint)
SetTileBuffer(IMTLRenderCommandEncoder, IMTLBuffer, nuint, nuint)
SetTileBufferOffset(IMTLRenderCommandEncoder, nuint, nuint)
SetTileBuffers(IMTLRenderCommandEncoder, IMTLBuffer[], IntPtr, NSRange)
SetTileBytes(IMTLRenderCommandEncoder, IntPtr, nuint, nuint)
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, nuint)
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, Single, Single, nuint)
SetTileSamplerStates(IMTLRenderCommandEncoder, IMTLSamplerState[], IntPtr, IntPtr, NSRange)
SetTileSamplerStates(IMTLRenderCommandEncoder, IMTLSamplerState[], NSRange)
SetTileTexture(IMTLRenderCommandEncoder, IMTLTexture, nuint)
SetTileTextures(IMTLRenderCommandEncoder, IMTLTexture[], NSRange)
SetViewports(IMTLRenderCommandEncoder, IntPtr, nuint)
TextureBarrier(IMTLRenderCommandEncoder)
Update(IMTLRenderCommandEncoder, IMTLFence, MTLRenderStages)

Captures all GPU work up to the current fence.

UseHeap(IMTLRenderCommandEncoder, IMTLHeap)

Marks the specified heap as usable by a render pass.

UseHeaps(IMTLRenderCommandEncoder, IMTLHeap[], nuint)

Marks the specified heaps as usable by a render pass.

UseResource(IMTLRenderCommandEncoder, IMTLResource, MTLResourceUsage)

Marks the specified resource as usable by a render pass.

UseResources(IMTLRenderCommandEncoder, IMTLResource[], nuint, MTLResourceUsage)

Marks the specified resources as usable by a render pass.

Wait(IMTLRenderCommandEncoder, IMTLFence, MTLRenderStages)

Prevents additional GPU work by the encoder until the fence is reached.

Applies to