---
title: controlPointBufferOffset
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlaccelerationstructurecurvegeometrydescriptor/controlpointbufferoffset
---

# controlPointBufferOffset

The offset, in bytes, to the control point data in the buffer.

## Declaration

```swift
var controlPointBufferOffset: Int { get set }
```

## Discussion

Discussion The offset needs to be a multiple of the format element size you configure with the controlPointFormat property. You also need to align the offset to the platform’s buffer alignment requirement.
