pub struct SvgfConfig { /* private fields */ }Expand description
Edge-stopping and iteration configuration parameters for SvgfDenoiser.
Implementations§
Source§impl SvgfConfig
Implements impl #impl_generics #name #ty_generics #where_clause.
impl SvgfConfig
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_iterations(&self) -> u32
pub fn get_mut_iterations(&mut self) -> &mut u32
pub fn set_iterations(&mut self, val: u32) -> &mut Self
pub fn get_phi_normal(&self) -> f32
pub fn get_mut_phi_normal(&mut self) -> &mut f32
pub fn set_phi_normal(&mut self, val: f32) -> &mut Self
pub fn get_phi_depth(&self) -> f32
pub fn get_mut_phi_depth(&mut self) -> &mut f32
pub fn set_phi_depth(&mut self, val: f32) -> &mut Self
pub fn get_phi_luma(&self) -> f32
pub fn get_mut_phi_luma(&mut self) -> &mut f32
pub fn set_phi_luma(&mut self, val: f32) -> &mut Self
pub fn get_variance_floor(&self) -> f32
pub fn get_mut_variance_floor(&mut self) -> &mut f32
pub fn set_variance_floor(&mut self, val: f32) -> &mut Self
pub fn get_demodulate_albedo(&self) -> bool
pub fn get_mut_demodulate_albedo(&mut self) -> &mut bool
pub fn set_demodulate_albedo(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for SvgfConfig
impl Clone for SvgfConfig
impl Copy for SvgfConfig
Source§impl Debug for SvgfConfig
impl Debug for SvgfConfig
Source§impl Default for SvgfConfig
Default SVGF edge-stopping configuration constructor for SvgfConfig.
impl Default for SvgfConfig
Default SVGF edge-stopping configuration constructor for SvgfConfig.
Source§impl PartialEq for SvgfConfig
impl PartialEq for SvgfConfig
impl StructuralPartialEq for SvgfConfig
Auto Trait Implementations§
impl Forget for SvgfConfig
impl Freeze for SvgfConfig
impl Move for SvgfConfig
impl RefUnwindSafe for SvgfConfig
impl Send for SvgfConfig
impl Sync for SvgfConfig
impl Unpin for SvgfConfig
impl UnsafeUnpin for SvgfConfig
impl UnwindSafe for SvgfConfig
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