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
impl LumenCacheCell
pub fn get_key(&self) -> u64
pub fn get_mut_key(&mut self) -> &mut u64
pub fn set_key(&mut self, val: u64) -> &mut LumenCacheCell
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 LumenCacheCell
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 LumenCacheCell
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 LumenCacheCell
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 LumenCacheCell
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 LumenCacheCell
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 LumenCacheCell
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 LumenCacheCell
Trait Implementations§
Source§impl Clone for LumenCacheCell
impl Clone for LumenCacheCell
Source§fn clone(&self) -> LumenCacheCell
fn clone(&self) -> LumenCacheCell
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 moreimpl Copy for LumenCacheCell
Source§impl Debug for LumenCacheCell
impl Debug for LumenCacheCell
Source§impl Default for LumenCacheCell
impl Default for LumenCacheCell
Source§fn default() -> LumenCacheCell
fn default() -> LumenCacheCell
Returns the “default value” for a type. Read more
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