<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLAccelerationStructureCurveGeometryDescriptor/controlPointBufferOffset",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLAccelerationStructureCurveGeometryDescriptor(py)controlPointBufferOffset"
  },
  "title" : "controlPointBufferOffset"
}
-->

# controlPointBufferOffset

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

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

## Discussion

The offset needs to be a multiple of the format element size you configure with the [`controlPointFormat`](/documentation/Metal/MTLAccelerationStructureCurveGeometryDescriptor/controlPointFormat) property.
You also need to align the offset to the platform’s buffer alignment requirement.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)