<!--
{
  "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/controlPointBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLAccelerationStructureCurveGeometryDescriptor(py)controlPointBuffer"
  },
  "title" : "controlPointBuffer"
}
-->

# controlPointBuffer

A buffer that contains curve control points.

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

## Discussion

You provide control points in the format that matches the [`controlPointFormat`](/documentation/Metal/MTLAccelerationStructureCurveGeometryDescriptor/controlPointFormat) property.
This property needs to have a non-nil value when you build an acceleration structure.

---

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)