---
title: stride
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlvertexbufferlayout/stride
---

# stride

The stride, in bytes, between data for separate vertices in a vertex buffer.

## Declaration

```swift
var stride: Int { get set }
```

## Discussion

Discussion For example, if a vertex buffer contains interleaved data for two attributes, the stride is typically the sum of data sizes for those two attributes.
