---
title: SCNFilterMode.nearest
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scnfiltermode/nearest
---

# SCNFilterMode.nearest

Texture filtering returns the color from only one texel, whose location is nearest to the coordinates being sampled.

## Declaration

```swift
case nearest
```

## See Also

### Constants

- [SCNFilterMode.none](scenekit/scnfiltermode/none.md)
- [SCNFilterMode.linear](scenekit/scnfiltermode/linear.md)
