public interface MTLIndirectRenderCommand
| Modifier and Type | Method and Description |
|---|---|
void |
drawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(long numberOfPatchControlPoints,
long patchStart,
long patchCount,
MTLBuffer patchIndexBuffer,
long patchIndexBufferOffset,
MTLBuffer controlPointIndexBuffer,
long controlPointIndexBufferOffset,
long instanceCount,
long baseInstance,
MTLBuffer buffer,
long offset,
long instanceStride) |
void |
drawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(long primitiveType,
long indexCount,
long indexType,
MTLBuffer indexBuffer,
long indexBufferOffset,
long instanceCount,
long baseVertex,
long baseInstance) |
void |
drawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(long numberOfPatchControlPoints,
long patchStart,
long patchCount,
MTLBuffer patchIndexBuffer,
long patchIndexBufferOffset,
long instanceCount,
long baseInstance,
MTLBuffer buffer,
long offset,
long instanceStride) |
void |
drawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(long primitiveType,
long vertexStart,
long vertexCount,
long instanceCount,
long baseInstance) |
void |
reset() |
void |
setFragmentBufferOffsetAtIndex(MTLBuffer buffer,
long offset,
long index) |
void |
setRenderPipelineState(MTLRenderPipelineState pipelineState) |
void |
setVertexBufferOffsetAtIndex(MTLBuffer buffer,
long offset,
long index) |
void drawIndexedPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetControlPointIndexBufferControlPointIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(long numberOfPatchControlPoints,
long patchStart,
long patchCount,
MTLBuffer patchIndexBuffer,
long patchIndexBufferOffset,
MTLBuffer controlPointIndexBuffer,
long controlPointIndexBufferOffset,
long instanceCount,
long baseInstance,
MTLBuffer buffer,
long offset,
long instanceStride)
void drawIndexedPrimitivesIndexCountIndexTypeIndexBufferIndexBufferOffsetInstanceCountBaseVertexBaseInstance(long primitiveType,
long indexCount,
long indexType,
MTLBuffer indexBuffer,
long indexBufferOffset,
long instanceCount,
long baseVertex,
long baseInstance)
void drawPatchesPatchStartPatchCountPatchIndexBufferPatchIndexBufferOffsetInstanceCountBaseInstanceTessellationFactorBufferTessellationFactorBufferOffsetTessellationFactorBufferInstanceStride(long numberOfPatchControlPoints,
long patchStart,
long patchCount,
MTLBuffer patchIndexBuffer,
long patchIndexBufferOffset,
long instanceCount,
long baseInstance,
MTLBuffer buffer,
long offset,
long instanceStride)
void drawPrimitivesVertexStartVertexCountInstanceCountBaseInstance(long primitiveType,
long vertexStart,
long vertexCount,
long instanceCount,
long baseInstance)
void reset()
void setFragmentBufferOffsetAtIndex(MTLBuffer buffer, long offset, long index)
void setRenderPipelineState(MTLRenderPipelineState pipelineState)
void setVertexBufferOffsetAtIndex(MTLBuffer buffer, long offset, long index)