pub struct ShadowLightInstance {
pub light_id: u64,
pub view_layer_index: u32,
pub texture_layer_index: u32,
pub light_buffer_index: usize,
pub light_view_projection: Mat4,
pub is_point: bool,
}Fields§
§light_id: u64§view_layer_index: u32Original layer index from the RenderView, used as the shadow queue key.
texture_layer_index: u32Layer index within the target texture (2D array or cube array).
light_buffer_index: usize§light_view_projection: Mat4§is_point: booltrue if this layer belongs to a point light (cube array target).
Trait Implementations§
Source§impl Clone for ShadowLightInstance
impl Clone for ShadowLightInstance
Source§fn clone(&self) -> ShadowLightInstance
fn clone(&self) -> ShadowLightInstance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShadowLightInstance
Auto Trait Implementations§
impl Freeze for ShadowLightInstance
impl RefUnwindSafe for ShadowLightInstance
impl Send for ShadowLightInstance
impl Sync for ShadowLightInstance
impl Unpin for ShadowLightInstance
impl UnsafeUnpin for ShadowLightInstance
impl UnwindSafe for ShadowLightInstance
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