pub struct DenoiseOptions {
pub quality: Quality,
pub hdr: bool,
pub srgb: bool,
pub input_scale: Option<f32>,
}Expand description
Options for denoising a wgpu texture.
Fields§
§quality: QualityQuality vs performance: Fast, Balanced, or High.
hdr: booltrue if the image is HDR (linear, possibly > 1.0).
srgb: booltrue if the image is sRGB-encoded LDR.
input_scale: Option<f32>Input scale for HDR (e.g. exposure). None = auto.
Trait Implementations§
Source§impl Clone for DenoiseOptions
impl Clone for DenoiseOptions
Source§fn clone(&self) -> DenoiseOptions
fn clone(&self) -> DenoiseOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DenoiseOptions
impl Debug for DenoiseOptions
Auto Trait Implementations§
impl Freeze for DenoiseOptions
impl RefUnwindSafe for DenoiseOptions
impl Send for DenoiseOptions
impl Sync for DenoiseOptions
impl Unpin for DenoiseOptions
impl UnwindSafe for DenoiseOptions
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