pub struct LtcLutSample { /* private fields */ }Expand description
Bilinearly interpolated GGX LTC inverse transformation matrix and Split-Sum Fresnel amplitudes.
Implementations§
Source§impl LtcLutSample
Implements impl #impl_generics #name #ty_generics #where_clause.
impl LtcLutSample
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_inv_matrix(&self) -> [[f32; 3]; 3]
pub fn get_mut_inv_matrix(&mut self) -> &mut [[f32; 3]; 3]
pub fn set_inv_matrix(&mut self, val: [[f32; 3]; 3]) -> &mut Self
pub fn get_fresnel_scale(&self) -> f32
pub fn get_mut_fresnel_scale(&mut self) -> &mut f32
pub fn set_fresnel_scale(&mut self, val: f32) -> &mut Self
pub fn get_fresnel_bias(&self) -> f32
pub fn get_mut_fresnel_bias(&mut self) -> &mut f32
pub fn set_fresnel_bias(&mut self, val: f32) -> &mut Self
Trait Implementations§
Source§impl Clone for LtcLutSample
impl Clone for LtcLutSample
impl Copy for LtcLutSample
Source§impl Debug for LtcLutSample
impl Debug for LtcLutSample
Source§impl Default for LtcLutSample
impl Default for LtcLutSample
Source§impl PartialEq for LtcLutSample
impl PartialEq for LtcLutSample
impl StructuralPartialEq for LtcLutSample
Auto Trait Implementations§
impl Forget for LtcLutSample
impl Freeze for LtcLutSample
impl Move for LtcLutSample
impl RefUnwindSafe for LtcLutSample
impl Send for LtcLutSample
impl Sync for LtcLutSample
impl Unpin for LtcLutSample
impl UnsafeUnpin for LtcLutSample
impl UnwindSafe for LtcLutSample
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