Interface MTLIndirectRenderCommand

    • 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()