pub struct TaaConfig {Show 14 fields
pub jitter_sequence: JitterSequence,
pub history_blend: f32,
pub velocity_reprojection: bool,
pub neighborhood_clamping: bool,
pub clamp_gamma: f32,
pub variance_clipping: bool,
pub variance_clip_gamma: f32,
pub motion_rejection: bool,
pub motion_rejection_strength: f32,
pub sharpen_amount: f32,
pub catmull_rom_history: bool,
pub luminance_weighting: bool,
pub flicker_reduction: bool,
pub flicker_strength: f32,
}Expand description
Configuration for TAA.
Fields§
§jitter_sequence: JitterSequenceJitter sequence to use.
history_blend: f32Blend factor for history (0 = full current, 1 = full history). Typical values: 0.9 - 0.95.
velocity_reprojection: boolWhether to use velocity-based reprojection.
neighborhood_clamping: boolWhether to use neighborhood clamping (prevents ghosting).
clamp_gamma: f32Clamping AABB expansion factor (higher = less ghosting removal).
variance_clipping: boolWhether to use variance clipping instead of simple clamping.
variance_clip_gamma: f32Variance clip gamma (typically 1.0-1.5).
motion_rejection: boolWhether to apply motion-vector-based blur rejection.
motion_rejection_strength: f32Velocity weight (how much to reduce history blend for fast-moving pixels).
sharpen_amount: f32Sharpening amount applied after TAA (0 = off).
catmull_rom_history: boolWhether to use catmull-rom filtering for history sampling.
luminance_weighting: boolWhether to apply a luminance weight to the blend factor.
flicker_reduction: boolWhether flicker reduction is enabled.
flicker_strength: f32Flicker reduction strength.
Implementations§
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.