pub struct LumenCacheCell { /* private fields */ }Expand description
Single spatial-hash cell storing temporally filtered multi-bounce indirect irradiance and occlusion in LumenRadianceCache.
Implementations§
Source§impl LumenCacheCell
Implements impl #impl_generics #name #ty_generics #where_clause.
impl LumenCacheCell
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_key(&self) -> u64
pub fn get_mut_key(&mut self) -> &mut u64
pub fn set_key(&mut self, val: u64) -> &mut Self
pub fn get_irradiance_r(&self) -> f32
pub fn get_mut_irradiance_r(&mut self) -> &mut f32
pub fn set_irradiance_r(&mut self, val: f32) -> &mut Self
pub fn get_irradiance_g(&self) -> f32
pub fn get_mut_irradiance_g(&mut self) -> &mut f32
pub fn set_irradiance_g(&mut self, val: f32) -> &mut Self
pub fn get_irradiance_b(&self) -> f32
pub fn get_mut_irradiance_b(&mut self) -> &mut f32
pub fn set_irradiance_b(&mut self, val: f32) -> &mut Self
pub fn get_ambient_occlusion(&self) -> f32
pub fn get_mut_ambient_occlusion(&mut self) -> &mut f32
pub fn set_ambient_occlusion(&mut self, val: f32) -> &mut Self
pub fn get_sun_visibility(&self) -> f32
pub fn get_mut_sun_visibility(&mut self) -> &mut f32
pub fn set_sun_visibility(&mut self, val: f32) -> &mut Self
pub fn get_sample_weight(&self) -> f32
pub fn get_mut_sample_weight(&mut self) -> &mut f32
pub fn set_sample_weight(&mut self, val: f32) -> &mut Self
pub fn get_last_frame(&self) -> u32
pub fn get_mut_last_frame(&mut self) -> &mut u32
pub fn set_last_frame(&mut self, val: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for LumenCacheCell
impl Clone for LumenCacheCell
impl Copy for LumenCacheCell
Source§impl Debug for LumenCacheCell
impl Debug for LumenCacheCell
Source§impl Default for LumenCacheCell
impl Default for LumenCacheCell
Source§impl PartialEq for LumenCacheCell
impl PartialEq for LumenCacheCell
impl StructuralPartialEq for LumenCacheCell
Auto Trait Implementations§
impl Forget for LumenCacheCell
impl Freeze for LumenCacheCell
impl Move for LumenCacheCell
impl RefUnwindSafe for LumenCacheCell
impl Send for LumenCacheCell
impl Sync for LumenCacheCell
impl Unpin for LumenCacheCell
impl UnsafeUnpin for LumenCacheCell
impl UnwindSafe for LumenCacheCell
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