---
title: sWrapMode
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdltexturefilter/swrapmode
---

# sWrapMode

The coordinate wrapping mode for texture t-coordinates.

## Declaration

```swift
var sWrapMode: 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 s-coordinate is the first (or only) value in a set of texture coordinates, used with one-, two-, and three-dimensional textures.

## See Also

### Managing Texture Coordinate Wrap Modes

- [tWrapMode](modelio/mdltexturefilter/twrapmode.md)
- [rWrapMode](modelio/mdltexturefilter/rwrapmode.md)
