---
title: rowStride
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdltexture/rowstride
---

# rowStride

The number of bytes between the first texel in a row of image data and the first texel in the next row.

## Declaration

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

## Discussion

Discussion If this value is zero, the texture does not support direct addressing of texels—this is the case for some compressed texture formats.

## See Also

### Examining Texture Attributes

- [dimensions](modelio/mdltexture/dimensions.md)
- [channelCount](modelio/mdltexture/channelcount.md)
- [channelEncoding](modelio/mdltexture/channelencoding.md)
- [isCube](modelio/mdltexture/iscube.md)
- [mipLevelCount](modelio/mdltexture/miplevelcount.md)
