pub struct ShadowView {
pub light_count: usize,
pub matrices: HashMap<usize, ShadowMatrices>,
}Expand description
Output of ShadowFlow.
Fields§
§light_count: usizeNumber of enabled lights in the world (regardless of shadow-casting).
matrices: HashMap<usize, ShadowMatrices>Per-light shadow data, keyed by the light’s position in
RenderWorld.lights. Only shadow-casting lights have an entry.
Trait Implementations§
Source§impl Clone for ShadowView
impl Clone for ShadowView
Source§fn clone(&self) -> ShadowView
fn clone(&self) -> ShadowView
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 moreSource§impl Debug for ShadowView
impl Debug for ShadowView
Source§impl Default for ShadowView
impl Default for ShadowView
Source§fn default() -> ShadowView
fn default() -> ShadowView
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShadowView
impl RefUnwindSafe for ShadowView
impl Send for ShadowView
impl Sync for ShadowView
impl Unpin for ShadowView
impl UnsafeUnpin for ShadowView
impl UnwindSafe for ShadowView
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