---
title: "strides(forSourceIndex:)"
framework: metalperformanceshaders
role: symbol
role_heading: Instance Method
path: "metalperformanceshaders/mpsndarraymultiarybase/strides(forsourceindex:)"
---

# strides(forSourceIndex:)

## Declaration

```swift
func strides(forSourceIndex sourceIndex: Int) -> MPSNDArrayOffsets
```
