---
title: rWrapMode
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdltexturefilter/rwrapmode
---

# rWrapMode

The coordinate wrapping mode for texture r-coordinates.

## Declaration

```swift
var rWrapMode: MDLMaterialTextureWrapMode { get set }
```

## Discussion

Discussion Texture coordinates canonically range from 0.0 to 1.0; wrap mode determines the behavior for samples from outside that range. For details, see MDLMaterialTextureWrapMode. The r-coordinate is the third value in a set of texture coordinates, used only with three-dimensional textures.

## See Also

### Managing Texture Coordinate Wrap Modes

- [sWrapMode](modelio/mdltexturefilter/swrapmode.md)
- [tWrapMode](modelio/mdltexturefilter/twrapmode.md)
