pub struct BakeSignals {
pub faces_done: bool,
pub mips_done: bool,
pub queue_pending: bool,
pub eligible: bool,
pub more_faces: bool,
pub more_mips: bool,
}Expand description
What the renderer knows this frame about the bake in flight, as the pure
transition table below reads it. Defaulted so a call site naming one slot’s
signals leaves the other slot’s at “nothing happening” rather than spelling
out a row of false.
Fields§
§faces_done: boolEvery cube face has been submitted and the GPU has signalled completion.
mips_done: boolEvery convolution dispatch has retired on the GPU. A backend whose queue ordering already puts those writes before any frame that samples the cube, and which has no per-dispatch recording resources to reclaim, has nothing to wait for and reports this the moment the last mip is dispatched.
queue_pending: boolA placement is still waiting to bake.
eligible: boolThe world can bake this frame (bindless plus geometry present plus a non-empty cull).
more_faces: boolCube faces remain to submit.
more_mips: boolDestination mips remain to convolve.
Trait Implementations§
Source§impl Clone for BakeSignals
impl Clone for BakeSignals
Source§fn clone(&self) -> BakeSignals
fn clone(&self) -> BakeSignals
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for BakeSignals
Source§impl Debug for BakeSignals
impl Debug for BakeSignals
Source§impl Default for BakeSignals
impl Default for BakeSignals
Source§fn default() -> BakeSignals
fn default() -> BakeSignals
impl Eq for BakeSignals
Source§impl PartialEq for BakeSignals
impl PartialEq for BakeSignals
impl StructuralPartialEq for BakeSignals
Auto Trait Implementations§
impl Freeze for BakeSignals
impl RefUnwindSafe for BakeSignals
impl Send for BakeSignals
impl Sync for BakeSignals
impl Unpin for BakeSignals
impl UnsafeUnpin for BakeSignals
impl UnwindSafe for BakeSignals
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
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
key and return true if they are equal.