Expand description
Main-world tick stages and the Tick resource.
- Each stage is a
bevy_ecsSystemSet. - Ordering is enforced by
.chain()incrate::app::App::new. - The render schedule runs after the main schedule and the extract step; see
crate::render_world.
Structs§
- Tick
- Per-tick frame clock resource.
- Wake
Deadline - Per-tick “tick again no later than this” request, the timed counterpart of
AnimationsActive.
Enums§
- Tick
Stage - The five ordered main-world stages of a Lumen tick.
Functions§
- reset_
wake_ deadline - Clears
WakeDeadlineat the top of every tick (registered inTickStage::Input, chained before theSystemsstage where drivers request), so a deadline nobody renews stops waking the loop. - wake_
deadline - The earliest instant a driver asked for another tick at, if any.
- work_
pending - Whether the tick that just ran left work behind, so a driver that only wakes on events has to schedule another frame.