Skip to main content

Module privacy_blur

Module privacy_blur 

Source
Expand description

Renderer-side data for the privacy-blur composition primitive.

PrivacyBlur bundles a MaskShape (where) with a BlurStrength (how strong). A PrivacyBlur value is what the editor inspector will eventually persist + animate; the renderer consumes one via Renderer::apply_privacy_blur_data, a one-liner wrapper over the lower-level Renderer::apply_privacy_blur.

The strength enum has named presets (Soft/Medium/Strong) plus a Custom(f32) escape hatch. Presets exist because the editor’s “blur strength” slider should snap to a small set of cinematic values rather than expose raw pixel radii to the user — but the renderer-data layer keeps both the symbolic name and the numeric radius reachable so AUT-22’s “story variants demonstrate different blur strengths” stays deterministic.

Structs§

PrivacyBlur
Renderer data for a privacy-blur composition.

Enums§

BlurStrength
Strength of a privacy blur, in symbolic + numeric form.