---
title: textureSamplerValue
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlmaterialproperty/texturesamplervalue
---

# textureSamplerValue

A texture sampler object that provides the texture image value for the material property.

## Declaration

```swift
var textureSamplerValue: MDLTextureSampler? { get set }
```

## Discussion

Discussion Unlike the URL to a texture image, a texture sampler object specifies both a texture image and parameters for rendering that image.

## See Also

### Working with a Material Property’s Value

- [stringValue](modelio/mdlmaterialproperty/stringvalue.md)
- [urlValue](modelio/mdlmaterialproperty/urlvalue.md)
- [color](modelio/mdlmaterialproperty/color.md)
- [floatValue](modelio/mdlmaterialproperty/floatvalue.md)
- [float2Value](modelio/mdlmaterialproperty/float2value.md)
- [float3Value](modelio/mdlmaterialproperty/float3value.md)
- [float4Value](modelio/mdlmaterialproperty/float4value.md)
- [matrix4x4](modelio/mdlmaterialproperty/matrix4x4.md)
