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

# texture

The amount of ambient occlusion specified using a UV-mapped image.

## Declaration

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

## See Also

### Accessing ambient occlusion values

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