hazeBlur

fun Modifier.hazeBlur(input: HazeInput, style: HazeBlurStyle = HazeBlurStyle, performanceMode: HazePerformanceMode? = null, expandLayerBounds: Boolean = true): Modifier

Applies Blur to an explicit input.

style is an opaque, shareable sequence of writes. Resolution starts from HazeBlurDefaults.style, then applies LocalHazeBlurStyle, then style. Later writes win. Each modifier node owns its Blur runtime, delegate, retained output, performance-mode configuration, cache, and lifecycle resources.

Snapshot state read by a Style block is observed by this node: a change resolves the Style again and redraws on the next frame without recomposition. Styles created with HazeBlurStyle compare by identity, so remember or hoist them. Built-in material presets compare by value.

Parameters

input

Source-backed content or this modifier's own content.

style

Explicit Blur Style applied after LocalHazeBlurStyle.

performanceMode

Rendering-fidelity policy, or null to inherit LocalHazePerformanceMode.

expandLayerBounds

Whether Blur may expand its capture layer by the resolved radius.