---
title: MDLTextureSampler
framework: modelio
role: symbol
role_heading: Class
path: modelio/mdltexturesampler
---

# MDLTextureSampler

An object that pairs a source of texture data with sampling parameters to be used in rendering the texture.

## Declaration

```swift
class MDLTextureSampler
```

## Overview

Overview You use texture samplers as material property values with the MDLMaterialProperty class.

## Topics

### Working with Texture Parameters

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

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Textures

- [MDLTexture](modelio/mdltexture.md)
- [MDLCheckerboardTexture](modelio/mdlcheckerboardtexture.md)
- [MDLColorSwatchTexture](modelio/mdlcolorswatchtexture.md)
- [MDLNoiseTexture](modelio/mdlnoisetexture.md)
- [MDLNormalMapTexture](modelio/mdlnormalmaptexture.md)
- [MDLSkyCubeTexture](modelio/mdlskycubetexture.md)
- [MDLURLTexture](modelio/mdlurltexture.md)
- [MDLTextureFilter](modelio/mdltexturefilter.md)
