Contents

indexBuffer

Sets an optional index buffer containing references to vertices in the vertexBuffer.

Declaration

var indexBuffer: MTL4BufferRange { get set }

Discussion

You can set this property to 0, the default, to avoid specifying an index buffer.