---
title: texture
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/custommaterial/custom-swift.struct/texture
---

# texture

A custom UV-mapped image texture that the framework sends to the material’s shader functions.

## Declaration

```swift
var texture: CustomMaterial.Texture?
```

## See Also

### Accessing custom values

- [value](realitykit/custommaterial/custom-swift.struct/value.md)
