---
title: hardwareFilter
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdltexturesampler/hardwarefilter
---

# hardwareFilter

An object that describes filtering modes for sampling from the texture.

## Declaration

```swift
var hardwareFilter: MDLTextureFilter? { get set }
```

## Discussion

Discussion Filtering modes specify the behavior of texture sampling at different sizes and texture coordinates.

## See Also

### Working with Texture Parameters

- [texture](modelio/mdltexturesampler/texture.md)
- [transform](modelio/mdltexturesampler/transform.md)
