Upstream: crates/rune/README.md § Frosted panels at
65f8eb43f710, MIT © Anomaly. Bundled by build-rune-apps; links point at this snapshot or at GitHub at that rev.
Frosted panels
Which blur a frosted panel needs depends on what sits behind it:
- The desktop or other windows:
El::system_materialabove, in a transparent window. Only the platform can see behind the window. - The app's own content:
El::backdrop_blurbelow. (El::blur(σ)blurs the element's own subtree, not its backdrop.) For refraction, a saturation lift and grain on top of the blur,rune-fx'sFx::lens(LensParams { frost: 1.0, .. })is Liquid Glass "regular": put.effect_backdrop(true)on its effect slot and draw throughRenderer::draw_with_backdrop, callingFxRenderer::blur_backdroponEffectPhase::Backdrop(encoder)withsite.backdrop;examples/lab/src/gfx.rsand the rune-fx README cover the calls. - No blur: a translucent
fillover the content is the cheap stand-in, and whatsystem_materialdraws in opaque windows and headless renders.