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