Expand description
The mesh-and-UI scene: a cube and a rich egui panel in one pass.
Ported from the mesh_and_ui_in_one_frame snapshot test: the frame where
the mesh source and the UI source have to agree on record order, scissor
state and the frameβs load ops. The snapshot mesh_and_ui.webp freezes the
second frame.
Re-exportsΒ§
use super::SceneControl;πuse super::SceneDef;πuse super::SceneOptions;πuse super::TEST_SIZE;πuse super::camera_view;πuse super::cube;πuse super::default_options;πuse unlit_ecs::Bundle;πuse unlit_ecs::DynamicBundle;πuse unlit_ecs::bundle;πuse unlit3d::prelude::*;π
StructsΒ§
- Tilted
Cube π - The sceneβs one visible object: a cube tilted towards the camera.
ConstantsΒ§
- CLEAR_
COLOR π - The colour the scene clears to.
StaticsΒ§
- SCENE
- The scene: a cube with the same rich interface over it.
FunctionsΒ§
- build π
- Build the mesh-and-UI sceneβs world content.