pub enum ScenePlacements {
All,
Listed,
Casting,
}Expand description
Which placements a scene step draws, of the materials its draw draws.
Variants§
All
Every placement (a core.instance, or an entity drawing its own core.mesh) whose primitives’ materials the
draw draws, each of those primitives, but a shadow proxy’s (core.shadows casting
crate::ShadowCast::Only).
Listed
Only the placements whose core.step_draws names the step’s draw (crate::StepDraws): the source picks
them per placement (Unity culls each renderer by its GameObject’s layer).
Casting
The placements that cast shadows (crate::Shadows: cast not crate::ShadowCast::Off), shadow proxies
included: a shadow caster draw picks them so.
Trait Implementations§
Source§impl Clone for ScenePlacements
impl Clone for ScenePlacements
impl Copy for ScenePlacements
Source§impl Debug for ScenePlacements
impl Debug for ScenePlacements
impl Eq for ScenePlacements
Source§impl PartialEq for ScenePlacements
impl PartialEq for ScenePlacements
Source§impl Serialize for ScenePlacements
impl Serialize for ScenePlacements
impl StructuralPartialEq for ScenePlacements
Auto Trait Implementations§
impl Forget for ScenePlacements
impl Freeze for ScenePlacements
impl RefUnwindSafe for ScenePlacements
impl Send for ScenePlacements
impl Sync for ScenePlacements
impl Unpin for ScenePlacements
impl UnsafeUnpin for ScenePlacements
impl UnwindSafe for ScenePlacements
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.