Skip to main content

rich_panel

Function rich_panel 

Source
pub(crate) fn rich_panel() -> UiPanel
Expand description

A rich, deterministic interface: real widgets, a texture and painted geometry.

Everything sits at a fixed place, and nothing here reads the clock or reacts to layout feedback, so two frames of the same world come out identical — which is what lets it stand as a snapshot. The blend band is translucent so that it shows the UI blending over whatever was drawn before it rather than replacing it.

Shared with the mesh-and-UI scene, which draws the same panel over a cube.