<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNGeometrySource/dataStride",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNGeometrySource(py)dataStride"
  },
  "title" : "dataStride"
}
-->

# dataStride

The number of bytes from a vector to the next one in the data.

```
var dataStride: Int { get }
```

## Discussion

You can use the [`SCNGeometrySource`](/documentation/SceneKit/SCNGeometrySource) and [`SCNGeometrySource`](/documentation/SceneKit/SCNGeometrySource) parameters can together to interleave data for multiple geometry sources in the same array, improving rendering performance. See [`SCNGeometrySource`](/documentation/SceneKit/SCNGeometrySource) for details.

---

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)