---
title: stepRate
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlbufferlayoutdescriptor/steprate
---

# stepRate

How frequently the step function should load data.

## Declaration

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

## Discussion

Discussion The interpretation of this value depends on the setting of stepFunction.

## See Also

### Describing fetch behavior

- [stride](metal/mtlbufferlayoutdescriptor/stride.md)
- [stepFunction](metal/mtlbufferlayoutdescriptor/stepfunction.md)
- [MTLStepFunction](metal/mtlstepfunction.md)
