---
title: MTLSamplerAddressMode.repeat
framework: metal
role: symbol
role_heading: Case
path: metal/mtlsampleraddressmode/repeat
---

# MTLSamplerAddressMode.repeat

Texture coordinates wrap to the other side of the texture, effectively keeping only the fractional part of the texture coordinate.

## Declaration

```swift
case `repeat`
```

## See Also

### Address mode options

- [MTLSamplerAddressMode.clampToEdge](metal/mtlsampleraddressmode/clamptoedge.md)
- [MTLSamplerAddressMode.mirrorClampToEdge](metal/mtlsampleraddressmode/mirrorclamptoedge.md)
- [MTLSamplerAddressMode.mirrorRepeat](metal/mtlsampleraddressmode/mirrorrepeat.md)
- [MTLSamplerAddressMode.clampToZero](metal/mtlsampleraddressmode/clamptozero.md)
- [MTLSamplerAddressMode.clampToBorderColor](metal/mtlsampleraddressmode/clamptobordercolor.md)
