pub enum BakePhase {
Idle,
Rendering,
Converting,
}Expand description
Phase of the single in-flight asynchronous bake. Exactly one probe is baked at
a time, walking three phases across frames so the render thread never blocks on
the capture: Rendering (six faces submitted, GPU running), Converting (faces
read back, the prefilter convolution running off the render thread), and Idle
(nothing in flight). The renderer holds the GPU resources for the in-flight
probe; this enum only names which phase it is in.
Variants§
Idle
Nothing to bake.
Rendering
Rendering the probe’s cube faces.
Converting
Converting the rendered faces into the prefiltered cube.
Trait Implementations§
impl Copy for BakePhase
impl Eq for BakePhase
impl StructuralPartialEq for BakePhase
Auto Trait Implementations§
impl Freeze for BakePhase
impl RefUnwindSafe for BakePhase
impl Send for BakePhase
impl Sync for BakePhase
impl Unpin for BakePhase
impl UnsafeUnpin for BakePhase
impl UnwindSafe for BakePhase
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.