---
title: stepRate
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelmeshresource/layout/steprate
---

# stepRate

The number of instances that share the same per-instance vertex data.

## Declaration

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

## Discussion

Discussion Used together with stepFunction. When stepFunction is .perInstance, the vertex shader advances to the next entry in this layout once per stepRate instances. Defaults to 1. Corresponds to MTLVertexBufferLayoutDescriptor.stepRate.

## See Also

### Configuring vertex stepping

- [stepFunction](realitykit/lowlevelmeshresource/layout/stepfunction.md)
