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

# texture

The specular value as a UV-mapped image texture.

## Declaration

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

## See Also

### Accessing specular values

- [scale](realitykit/custommaterial/specular-swift.struct/scale.md)
