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 Details

    • setRenderPipelineState

      void setRenderPipelineState​(MTLRenderPipelineState pipelineState)
      Since:
      Available in iOS 13.0 and later.
    • 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()