---
title: useTexture
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelmaterialresource/simplesurfacedescriptor/usetexture
---

# useTexture

A Boolean value that indicates whether the shader samples a texture from the argument table and multiplies it with the surface output.

## Declaration

```swift
var useTexture: Bool { get set }
```

## See Also

### Configuring color sources

- [useTintColor](realitykit/lowlevelmaterialresource/simplesurfacedescriptor/usetintcolor.md)
