---
title: outputOpacity
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelmaterialresource/simplesurfacedescriptor/outputopacity
---

# outputOpacity

A Boolean value that indicates whether the shader also writes the computed alpha to the surface opacity output.

## Declaration

```swift
var outputOpacity: Bool { get set }
```

## See Also

### Configuring the output

- [outputChannel](realitykit/lowlevelmaterialresource/simplesurfacedescriptor/outputchannel-swift.property.md)
- [LowLevelMaterialResource.SimpleSurfaceDescriptor.OutputChannel](realitykit/lowlevelmaterialresource/simplesurfacedescriptor/outputchannel-swift.enum.md)
