pub enum DrawBucket {
Deferred,
Decal,
Forward,
Sky,
ShadowCaster,
Velocity,
}Expand description
The kind of draw a scene step makes, as the source states it (what it draws is SceneMembers’s, never the
kind’s).
Variants§
Deferred
Opaque and alpha-tested surfaces into the G-buffer.
Decal
Decals over the G-buffer.
Forward
Surfaces lit as they are drawn, after the deferred light (the blended ones, water).
Sky
The sky: its dome, the sun’s and moon’s discs, cloud layers and far scenery drawn as part of the sky, each by its own material, after the deferred light. Where its step stands against the source’s fog composite (before it, so the fog lies over the sky, or after it) is the graph’s order of steps, as the source draws it.
ShadowCaster
The shadow casters of a light.
Velocity
Surfaces that write motion only.
Trait Implementations§
Source§impl Clone for DrawBucket
impl Clone for DrawBucket
impl Copy for DrawBucket
Source§impl Debug for DrawBucket
impl Debug for DrawBucket
impl Eq for DrawBucket
Source§impl PartialEq for DrawBucket
impl PartialEq for DrawBucket
Source§impl Serialize for DrawBucket
impl Serialize for DrawBucket
impl StructuralPartialEq for DrawBucket
Auto Trait Implementations§
impl Forget for DrawBucket
impl Freeze for DrawBucket
impl RefUnwindSafe for DrawBucket
impl Send for DrawBucket
impl Sync for DrawBucket
impl Unpin for DrawBucket
impl UnsafeUnpin for DrawBucket
impl UnwindSafe for DrawBucket
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.