pub enum HistoryMode {
Track,
Stale,
Untracked,
}Expand description
How a frame’s draw-args build treats the model-history ring.
Variants§
Track
The pre-pass fills and reads the ring this frame: flag only the records whose occupant moved since the snapshot was taken.
Stale
The ring is not being filled this frame – the pre-pass is off, or no consumer reads motion – so nothing in it can be trusted when it returns: flag every record and re-prime.
Untracked
A reflection-probe bake, building its own records into its own buffers: flag every record and leave the frame’s tracker alone.
Trait Implementations§
Source§impl Clone for HistoryMode
impl Clone for HistoryMode
Source§fn clone(&self) -> HistoryMode
fn clone(&self) -> HistoryMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HistoryMode
Source§impl Debug for HistoryMode
impl Debug for HistoryMode
Source§impl Default for HistoryMode
impl Default for HistoryMode
Source§fn default() -> HistoryMode
fn default() -> HistoryMode
Returns the “default value” for a type. Read more
impl Eq for HistoryMode
Source§impl PartialEq for HistoryMode
impl PartialEq for HistoryMode
impl StructuralPartialEq for HistoryMode
Auto Trait Implementations§
impl Freeze for HistoryMode
impl RefUnwindSafe for HistoryMode
impl Send for HistoryMode
impl Sync for HistoryMode
impl Unpin for HistoryMode
impl UnsafeUnpin for HistoryMode
impl UnwindSafe for HistoryMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.