pub struct TaaConfig {
pub feedback: f32,
pub jitter: f32,
}Expand description
Temporal anti-aliasing blend configuration.
Fields§
§feedback: f32History feedback in 0..=1.
jitter: f32Jitter amount in pixels.
Implementations§
Source§impl TaaConfig
impl TaaConfig
Sourcepub fn normalized(self) -> Self
pub fn normalized(self) -> Self
Returns a clamped configuration.
Trait Implementations§
impl Copy for TaaConfig
impl StructuralPartialEq for TaaConfig
Auto Trait Implementations§
impl Freeze for TaaConfig
impl RefUnwindSafe for TaaConfig
impl Send for TaaConfig
impl Sync for TaaConfig
impl Unpin for TaaConfig
impl UnsafeUnpin for TaaConfig
impl UnwindSafe for TaaConfig
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