---
title: MDLMaterialMipMapFilterMode.nearest
framework: modelio
role: symbol
role_heading: Case
path: modelio/mdlmaterialmipmapfiltermode/nearest
---

# MDLMaterialMipMapFilterMode.nearest

Sampling a texture at a size between mipmap levels should return a texel value from the nearest mipmap level.

## Declaration

```swift
case nearest
```

## See Also

### Constants

- [MDLMaterialMipMapFilterMode.linear](modelio/mdlmaterialmipmapfiltermode/linear.md)
