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

# texture

The texture object that provides image data for sampling.

## Declaration

```swift
var texture: MDLTexture? { get set }
```

## Discussion

Discussion A MDLTexture object describes texture image data.

## See Also

### Working with Texture Parameters

- [hardwareFilter](modelio/mdltexturesampler/hardwarefilter.md)
- [transform](modelio/mdltexturesampler/transform.md)
