---
title: controlPointBuffer
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructurecurvegeometrydescriptor/controlpointbuffer
---

# controlPointBuffer

References a buffer containing curve control points.

## Declaration

```swift
var controlPointBuffer: MTL4BufferRange { get set }
```

## Discussion

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.
