---
title: GlassBackgroundEffect
framework: swiftui
role: symbol
role_heading: Protocol
path: swiftui/glassbackgroundeffect
---

# GlassBackgroundEffect

A specification for the appearance of a glass background.

## Declaration

```swift
protocol GlassBackgroundEffect
```

## Topics

### Associated Types

- [Body](swiftui/glassbackgroundeffect/body.md)

### Instance Methods

- [makeBody(configuration:)](swiftui/glassbackgroundeffect/makebody(configuration:).md)

### Type Aliases

- [GlassBackgroundEffect.Configuration](swiftui/glassbackgroundeffect/configuration.md)

### Type Properties

- [automatic](swiftui/glassbackgroundeffect/automatic.md)
- [feathered](swiftui/glassbackgroundeffect/feathered.md)
- [plate](swiftui/glassbackgroundeffect/plate.md)

### Type Methods

- [feathered(padding:softEdgeRadius:)](swiftui/glassbackgroundeffect/feathered(padding:softedgeradius:).md)

## Relationships

### Conforming Types

- [AutomaticGlassBackgroundEffect](swiftui/automaticglassbackgroundeffect.md)
- [FeatheredGlassBackgroundEffect](swiftui/featheredglassbackgroundeffect.md)
- [PlateGlassBackgroundEffect](swiftui/plateglassbackgroundeffect.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)
- [AutomaticGlassBackgroundEffect](swiftui/automaticglassbackgroundeffect.md)
- [GlassBackgroundEffectConfiguration](swiftui/glassbackgroundeffectconfiguration.md)
- [FeatheredGlassBackgroundEffect](swiftui/featheredglassbackgroundeffect.md)
- [PlateGlassBackgroundEffect](swiftui/plateglassbackgroundeffect.md)
