pub struct LocalShadowStats {
pub shadowed: usize,
pub unshadowed: usize,
pub layers_drawn: usize,
pub faces_drawn: usize,
pub draws: usize,
}Expand description
The last rendered frame’s local-light shadows
(View::local_shadow_stats).
Fields§
§shadowed: usizeLights that cast a shadow, reach the camera’s view and have one.
unshadowed: usizeLights that cast a shadow and reach the camera’s view, but for which the atlas had no room: they are lit without a shadow.
layers_drawn: usizeFaces whose static layer was drawn.
faces_drawn: usizeFaces drawn into the frame’s atlas.
draws: usizeDraws encoded into either atlas, clears and copies included.
Trait Implementations§
Source§impl Clone for LocalShadowStats
impl Clone for LocalShadowStats
impl Copy for LocalShadowStats
Source§impl Debug for LocalShadowStats
impl Debug for LocalShadowStats
Source§impl Default for LocalShadowStats
impl Default for LocalShadowStats
impl Eq for LocalShadowStats
Source§impl PartialEq for LocalShadowStats
impl PartialEq for LocalShadowStats
impl StructuralPartialEq for LocalShadowStats
Auto Trait Implementations§
impl Forget for LocalShadowStats
impl Freeze for LocalShadowStats
impl Move for LocalShadowStats
impl RefUnwindSafe for LocalShadowStats
impl Send for LocalShadowStats
impl Sync for LocalShadowStats
impl Unpin for LocalShadowStats
impl UnsafeUnpin for LocalShadowStats
impl UnwindSafe for LocalShadowStats
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.