GlassOptics

sealed interface GlassOptics

Selects how Glass optical values are produced.

Inheritors

Types

Link copied to clipboard
data object Adaptive : GlassOptics

The built-in Haze glass material.

Link copied to clipboard
data class Fixed(val refractionStrength: Float = 0.7f, val refractionHeightFraction: Float = 0.25f, val refractionDisplacement: Dp = 15.dp, val depth: Float = 1.0f, val blurRadius: Dp = 14.dp, val progressive: HazeProgressive? = null) : GlassOptics

A complete optical configuration with no geometry-dependent adjustment.