---
title: MDLMaterialTextureFilterMode.nearest
framework: modelio
role: symbol
role_heading: Case
path: modelio/mdlmaterialtexturefiltermode/nearest
---

# MDLMaterialTextureFilterMode.nearest

Sampling at texture coordinates between texels should return the value of the nearest texel.

## Declaration

```swift
case nearest
```

## See Also

### Constants

- [MDLMaterialTextureFilterMode.linear](modelio/mdlmaterialtexturefiltermode/linear.md)
