Contents

controlPointBuffer

A buffer that contains curve control points.

Declaration

var controlPointBuffer: (any MTLBuffer)? { get set }

Discussion

You provide control points in the format that matches the controlPointFormat property. This property needs to have a non-nil value when you build an acceleration structure.