Skip to main content

Module dim_outside

Module dim_outside 

Source
Expand description

Renderer-side data for the dim-outside composition primitive (M-MASK / AUT-29). Companion to PrivacyBlur and the lower-level Renderer::apply_spotlight.

DimOutside bundles a MaskShape (where the focus is) with a DimStrength (how dark the surrounding context becomes). The editor inspector will eventually persist + animate this struct; the renderer consumes one via Renderer::apply_dim_outside_data, a one-line wrapper that calls apply_spotlight with a black overlay at the right alpha.

Structs§

DimOutside
Renderer data for a dim-outside composition.

Enums§

DimStrength
Strength of the dim applied outside the focus shape.