pub enum TickPhase {
PreSimulation,
PostSimulation,
PreExtract,
Maintenance,
}Expand description
Tick phases at which [DataSystem]s are dispatched.
The order below reflects their position in the engine tick:
PreSimulation runs first (before any agent simulates), Maintenance
runs last (after all agent work is finished).
Variants§
PreSimulation
Runs before any simulation. Input-driven mutations, scene events, anything that should be visible to agents at the start of their frame.
PostSimulation
Runs after simulation, before extraction. Hierarchy fix-ups
(transform_propagation), invariant restoration that the agents
might have broken.
PreExtract
Runs right before extraction. Last chance to mutate the world before
Flows project it to lanes — material syncs, GPU resource sync, etc.
Maintenance
Runs at the end of the tick. Storage compaction, deferred cleanup, best-effort idempotent maintenance.
Trait Implementations§
impl Copy for TickPhase
impl Eq for TickPhase
impl StructuralPartialEq for TickPhase
Auto Trait Implementations§
impl Freeze for TickPhase
impl RefUnwindSafe for TickPhase
impl Send for TickPhase
impl Sync for TickPhase
impl Unpin for TickPhase
impl UnsafeUnpin for TickPhase
impl UnwindSafe for TickPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.