<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLMaterialTextureFilterMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:@E@MDLMaterialTextureFilterMode"
  },
  "title" : "MDLMaterialTextureFilterMode"
}
-->

# MDLMaterialTextureFilterMode

Modes for sampling textures at coordinates between texels, used by the [`minFilter`](/documentation/ModelIO/MDLTextureFilter/minFilter) and [`magFilter`](/documentation/ModelIO/MDLTextureFilter/magFilter) properties.

```
enum MDLMaterialTextureFilterMode
```

## Topics

### Constants

[`MDLMaterialTextureFilterModeNearest`](/documentation/ModelIO/MDLMaterialTextureFilterMode/nearest)

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

[`MDLMaterialTextureFilterModeLinear`](/documentation/ModelIO/MDLMaterialTextureFilterMode/linear)

Sampling at texture coordinates between texels should linearly interpolate between texel values.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)