<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLSamplerMipFilter",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLSamplerMipFilter"
  },
  "title" : "MTLSamplerMipFilter"
}
-->

# MTLSamplerMipFilter

Filtering options for determining what pixel value is returned with multiple mipmap levels.

```
enum MTLSamplerMipFilter
```

## Topics

### Specifying mip filter options

[`MTLSamplerMipFilter.notMipmapped`](/documentation/Metal/MTLSamplerMipFilter/notMipmapped)

The texture is sampled from mipmap level `0`, and other mipmap levels are ignored.

[`MTLSamplerMipFilter.nearest`](/documentation/Metal/MTLSamplerMipFilter/nearest)

The nearest mipmap level is selected.

[`MTLSamplerMipFilter.linear`](/documentation/Metal/MTLSamplerMipFilter/linear)

If the filter falls between mipmap levels, both levels are sampled and the results are determined by linear interpolation between levels.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)