Package org.robovm.apple.metal
Interface MTLIndirectRenderCommand
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
MTLIndirectRenderCommandAdapter
public interface MTLIndirectRenderCommand extends NSObjectProtocol
- Since:
- Available in iOS 12.0 and later.
-
Method Summary
Modifier and Type Method Description voiddrawIndexedPatches(long numberOfPatchControlPoints, long patchStart, long patchCount, MTLBuffer patchIndexBuffer, long patchIndexBufferOffset, MTLBuffer controlPointIndexBuffer, long controlPointIndexBufferOffset, long instanceCount, long baseInstance, MTLBuffer buffer, long offset, long instanceStride)voiddrawIndexedPrimitives(MTLPrimitiveType primitiveType, long indexCount, MTLIndexType indexType, MTLBuffer indexBuffer, long indexBufferOffset, long instanceCount, long baseVertex, long baseInstance)voiddrawPatches(long numberOfPatchControlPoints, long patchStart, long patchCount, MTLBuffer patchIndexBuffer, long patchIndexBufferOffset, long instanceCount, long baseInstance, MTLBuffer buffer, long offset, long instanceStride)voiddrawPrimitives(MTLPrimitiveType primitiveType, long vertexStart, long vertexCount, long instanceCount, long baseInstance)voidreset()voidsetFragmentBuffer(MTLBuffer buffer, long offset, long index)voidsetRenderPipelineState(MTLRenderPipelineState pipelineState)voidsetVertexBuffer(MTLBuffer buffer, long offset, long index)
-
Method Details
-
setRenderPipelineState
- Since:
- Available in iOS 13.0 and later.
-
setVertexBuffer
-
setFragmentBuffer
-
drawPatches
-
drawIndexedPatches
void drawIndexedPatches(long numberOfPatchControlPoints, long patchStart, long patchCount, MTLBuffer patchIndexBuffer, long patchIndexBufferOffset, MTLBuffer controlPointIndexBuffer, long controlPointIndexBufferOffset, long instanceCount, long baseInstance, MTLBuffer buffer, long offset, long instanceStride) -
drawPrimitives
void drawPrimitives(MTLPrimitiveType primitiveType, long vertexStart, long vertexCount, long instanceCount, long baseInstance) -
drawIndexedPrimitives
void drawIndexedPrimitives(MTLPrimitiveType primitiveType, long indexCount, MTLIndexType indexType, MTLBuffer indexBuffer, long indexBufferOffset, long instanceCount, long baseVertex, long baseInstance) -
reset
void reset()
-