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

# texture

The roughness values as a UV-mapped image texture.

## Declaration

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

## See Also

### Accessing roughness data

- [textureSemantic](realitykit/physicallybasedmaterial/roughness-swift.struct/texturesemantic.md)
- [scale](realitykit/physicallybasedmaterial/roughness-swift.struct/scale.md)
