---
title: AutomaticGlassBackgroundEffect
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/automaticglassbackgroundeffect
---

# AutomaticGlassBackgroundEffect

The automatic glass background effect.

## Declaration

```swift
struct AutomaticGlassBackgroundEffect
```

## Overview

Overview You can also use automatic to construct this effect.

## Topics

### Initializers

- [init()](swiftui/automaticglassbackgroundeffect/init().md)

## Relationships

### Conforms To

- [GlassBackgroundEffect](swiftui/glassbackgroundeffect.md)

## See Also

### Adding a glass background on views in visionOS

- [glassBackgroundEffect(displayMode:)](swiftui/view/glassbackgroundeffect(displaymode:).md)
- [glassBackgroundEffect(in:displayMode:)](swiftui/view/glassbackgroundeffect(in:displaymode:).md)
- [GlassBackgroundDisplayMode](swiftui/glassbackgrounddisplaymode.md)
- [GlassBackgroundEffect](swiftui/glassbackgroundeffect.md)
- [GlassBackgroundEffectConfiguration](swiftui/glassbackgroundeffectconfiguration.md)
- [FeatheredGlassBackgroundEffect](swiftui/featheredglassbackgroundeffect.md)
- [PlateGlassBackgroundEffect](swiftui/plateglassbackgroundeffect.md)
