pub enum BakeAction {
Idle,
StartNext,
RenderFace,
Install,
Readback,
}Expand description
What the renderer should do this frame to advance the asynchronous bake. The
renderer maps each variant to a side effect: StartNext builds the next
placement’s capture buffers + targets (no face submitted yet), RenderFace
submits one cube face (the six are spread one-per-frame so no single frame
pays the whole capture), Readback copies the finished faces back and kicks
the off-thread convolution, Install uploads the convolved cube and advances
the queue, Idle does nothing.
Variants§
Idle
Nothing to do this frame.
StartNext
Begin the next queued probe.
RenderFace
Render one cube face.
Install
Install the converted cube into the probe pool.
Readback
Read the rendered faces back for conversion.
Trait Implementations§
Source§impl Clone for BakeAction
impl Clone for BakeAction
Source§fn clone(&self) -> BakeAction
fn clone(&self) -> BakeAction
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 BakeAction
Source§impl Debug for BakeAction
impl Debug for BakeAction
impl Eq for BakeAction
Source§impl PartialEq for BakeAction
impl PartialEq for BakeAction
impl StructuralPartialEq for BakeAction
Auto Trait Implementations§
impl Freeze for BakeAction
impl RefUnwindSafe for BakeAction
impl Send for BakeAction
impl Sync for BakeAction
impl Unpin for BakeAction
impl UnsafeUnpin for BakeAction
impl UnwindSafe for BakeAction
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.