---
title: dataStride
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scngeometrysource/datastride
---

# dataStride

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

## Declaration

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

## Discussion

Discussion You can use the SCNGeometrySource and SCNGeometrySource parameters can together to interleave data for multiple geometry sources in the same array, improving rendering performance. See SCNGeometrySource for details.

## See Also

### Inspecting a Geometry Source

- [data](scenekit/scngeometrysource/data.md)
- [semantic](scenekit/scngeometrysource/semantic-swift.property.md)
- [vectorCount](scenekit/scngeometrysource/vectorcount.md)
- [usesFloatComponents](scenekit/scngeometrysource/usesfloatcomponents.md)
- [componentsPerVector](scenekit/scngeometrysource/componentspervector.md)
- [bytesPerComponent](scenekit/scngeometrysource/bytespercomponent.md)
- [dataOffset](scenekit/scngeometrysource/dataoffset.md)
