---
title: ImmersiveContentBrightness
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/immersivecontentbrightness
---

# ImmersiveContentBrightness

The content brightness of an immersive space.

## Declaration

```swift
struct ImmersiveContentBrightness
```

## Overview

Overview Use a value of this type as an input to the immersiveContentBrightness(_:) scene modifier to indicate the ambient content brightness of an ImmersiveSpace. When you do this to create an environment that’s suitable for video playback, use one of the standard brightness values like bright, dim, or dark to provide good results for most use cases. To optimize further, you can create a custom brightness using a normalized value that expresses the linear brightness ratio between a standard dynamic range white video frame and the background that surrounds the player window.

## Topics

### Getting brightness levels

- [automatic](swiftui/immersivecontentbrightness/automatic.md)
- [dark](swiftui/immersivecontentbrightness/dark.md)
- [dim](swiftui/immersivecontentbrightness/dim.md)
- [bright](swiftui/immersivecontentbrightness/bright.md)
- [custom(_:)](swiftui/immersivecontentbrightness/custom(_:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)

## See Also

### Adjusting content brightness

- [immersiveContentBrightness(_:)](swiftui/scene/immersivecontentbrightness(_:).md)
