#[repr(packed(1))]pub struct ShadowMapInfo {
pub srv_index: u32,
pub matrix_index: u32,
}
Expand description
GPU lookup for shadow map srv and matrix index. to look into textures and shadows matrix in world buffers
Fields§
§srv_index: u32
§matrix_index: u32
Trait Implementations§
Source§impl Clone for ShadowMapInfo
impl Clone for ShadowMapInfo
Source§fn clone(&self) -> ShadowMapInfo
fn clone(&self) -> ShadowMapInfo
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 moreSource§impl Default for ShadowMapInfo
impl Default for ShadowMapInfo
Source§fn default() -> ShadowMapInfo
fn default() -> ShadowMapInfo
Returns the “default value” for a type. Read more
impl Copy for ShadowMapInfo
Auto Trait Implementations§
impl Freeze for ShadowMapInfo
impl RefUnwindSafe for ShadowMapInfo
impl Send for ShadowMapInfo
impl Sync for ShadowMapInfo
impl Unpin for ShadowMapInfo
impl UnwindSafe for ShadowMapInfo
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