---
title: SCNWrapMode.clamp
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scnwrapmode/clamp
---

# SCNWrapMode.clamp

Texture coordinates are clamped to the range from 0.0 to 1.0, inclusive.

## Declaration

```swift
case clamp
```

## Mentioned in

SCNClamp

## Discussion

Discussion Texture sampling in areas whose texture coordinates would fall outside this range produces texel colors from the nearest edge of the texture image.

## See Also

### Constants

- [SCNWrapMode.repeat](scenekit/scnwrapmode/repeat.md)
- [SCNWrapMode.clampToBorder](scenekit/scnwrapmode/clamptoborder.md)
- [SCNWrapMode.mirror](scenekit/scnwrapmode/mirror.md)
- [SCNClamp](scenekit/scnclamp.md)
- [SCNRepeat](scenekit/scnrepeat.md)
- [SCNClampToBorder](scenekit/scnclamptoborder.md)
- [SCNMirror](scenekit/scnmirror.md)
