---
title: texture
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/physicallybasedmaterial/opacity/texture
---

# texture

The amount of opacity specified using a UV-mapped image.

## Declaration

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

## See Also

### Accessing opacity values

- [textureSemantic](realitykit/physicallybasedmaterial/opacity/texturesemantic.md)
- [scale](realitykit/physicallybasedmaterial/opacity/scale.md)
- [opacityThreshold](realitykit/physicallybasedmaterial/opacitythreshold.md)
