#[non_exhaustive]pub enum PrefilterMode {
None,
External,
Bilateral {
sigma_s: f32,
sigma_r: f32,
},
}Expand description
How the per-frame reference clip is produced.
Bilateral and any future GPU-internal variants run a kernel
during push_frame. External requires the caller to supply a
reference frame via [super::NlmDenoiser::push_frame_with_reference].
None disables the reference path entirely (zero-cost).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PrefilterMode
impl Clone for PrefilterMode
Source§fn clone(&self) -> PrefilterMode
fn clone(&self) -> PrefilterMode
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 PrefilterMode
Source§impl Debug for PrefilterMode
impl Debug for PrefilterMode
Source§impl Default for PrefilterMode
impl Default for PrefilterMode
Source§fn default() -> PrefilterMode
fn default() -> PrefilterMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for PrefilterMode
impl PartialEq for PrefilterMode
impl StructuralPartialEq for PrefilterMode
Auto Trait Implementations§
impl Freeze for PrefilterMode
impl RefUnwindSafe for PrefilterMode
impl Send for PrefilterMode
impl Sync for PrefilterMode
impl Unpin for PrefilterMode
impl UnsafeUnpin for PrefilterMode
impl UnwindSafe for PrefilterMode
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