Contents

controlPointBuffer

References a buffer containing curve control points.

Declaration

var controlPointBuffer: MTL4BufferRange { get set }

Discussion

Control points are interpolated according to the basis function you specify in curveBasis.

You are responsible for ensuring each control is in a format matching the control point format controlPointFormat specifies, as well as ensuring that the buffer address of the range is not zero.