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

# controlPointBuffer

A buffer that contains curve control points.

## Declaration

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

## Discussion

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.
