pub struct LightMap {
pub width: u32,
pub height: u32,
pub texels: Vec<Vec3>,
}Expand description
A baked light map storing per-texel irradiance.
Fields§
§width: u32§height: u32§texels: Vec<Vec3>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LightMap
impl RefUnwindSafe for LightMap
impl Send for LightMap
impl Sync for LightMap
impl Unpin for LightMap
impl UnsafeUnpin for LightMap
impl UnwindSafe for LightMap
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