Package org.robovm.apple.metal
Interface MTLIndirectRenderCommand
-
- All Superinterfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- All Known Implementing Classes:
MTLIndirectRenderCommandAdapter
public interface MTLIndirectRenderCommand extends NSObjectProtocol
- Since:
- Available in iOS 12.0 and later.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
void
drawIndexedPrimitives(MTLPrimitiveType primitiveType, long indexCount, MTLIndexType indexType, MTLBuffer indexBuffer, long indexBufferOffset, long instanceCount, long baseVertex, long baseInstance)
void
drawPatches(long numberOfPatchControlPoints, long patchStart, long patchCount, MTLBuffer patchIndexBuffer, long patchIndexBufferOffset, long instanceCount, long baseInstance, MTLBuffer buffer, long offset, long instanceStride)
void
drawPrimitives(MTLPrimitiveType primitiveType, long vertexStart, long vertexCount, long instanceCount, long baseInstance)
void
reset()
void
setFragmentBuffer(MTLBuffer buffer, long offset, long index)
void
setVertexBuffer(MTLBuffer buffer, long offset, long index)
-
-
-
Method Detail
-
setVertexBuffer
void setVertexBuffer(MTLBuffer buffer, long offset, long index)
-
setFragmentBuffer
void setFragmentBuffer(MTLBuffer buffer, long offset, long index)
-
drawPatches
void drawPatches(long numberOfPatchControlPoints, long patchStart, long patchCount, MTLBuffer patchIndexBuffer, long patchIndexBufferOffset, long instanceCount, long baseInstance, MTLBuffer buffer, long offset, long instanceStride)
-
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()
-
-