Expand description
The UI-only scene: egui drawn into a frame with no mesh source and no camera.
Ported from the ui_only_draws_without_a_camera snapshot test: the frame
shape that used to produce nothing, because the renderer bailed out when
the world held no camera. The snapshot ui_only.webp freezes the second
frame β the first only warms eguiβs font atlas up.
Re-exportsΒ§
use super::SceneControl;πuse super::SceneDef;πuse super::SceneOptions;πuse super::TEST_SIZE;πuse unlit3d::ui::egui;πuse unlit3d::prelude::*;π
StructsΒ§
- Rect π
- A rectangle in logical points.
ConstantsΒ§
- BAND π
- CLEAR_
COLOR π - The colour the scene clears to, distinguishable from every panel.
- LIGHT_
GREEN π - A shade of
test_imagethe sceneβs painted circle reuses. - PICTURE π
- WIDGETS π
- Where the rich panel puts its parts, in logical points.
StaticsΒ§
- SCENE
- The scene: a rich egui interface and nothing else.
FunctionsΒ§
- build π
- Build the UI-only sceneβs world content.
- rich_
panel π - A rich, deterministic interface: real widgets, a texture and painted geometry.
- test_
image π - The texels of the test image: four quadrants, each checkerboarded between a light and a dark shade.