Contents

indexBuffer

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

Declaration

var indexBuffer: MTL4BufferRange { get set }

Discussion

All keyframes share the same index buffer, with each index representing the first control point of a curve segment.

You are responsible for ensuring the buffer address of the range is not zero.