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

# controlPointStride

The stride, in bytes, between control points in the buffer.

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

## Discussion

The stride needs to be a multiple of the format element size you configure with the [`controlPointFormat`](/documentation/Metal/MTLAccelerationStructureCurveGeometryDescriptor/controlPointFormat) property, and at least the format’s size.
The default value is `0`, which indicates that the control point elements in the buffer have zero bytes of padding between them.

---

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)