Contents

indexBuffer

Assigns an optional index buffer containing references to control points in the control point buffer.

Declaration

var indexBuffer: MTL4BufferRange { get set }

Discussion

Each index represents the first control point of a curve segment. You are responsible for ensuring the buffer address of the range is not zero.