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

# texture

The base color as a UV-mapped image.

## Declaration

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

## See Also

### Accessing base color data

- [tint](realitykit/custommaterial/basecolor-swift.struct/tint-4xg2a.md)
- [tint](realitykit/custommaterial/basecolor-swift.struct/tint-99g.md)
