pub enum AaMode {
Off,
Fxaa,
Taa,
}Expand description
Anti-aliasing mode for PostProcessConfig.aa_mode. Off runs no edge
smoothing; Fxaa (default) applies the composite’s single-frame edge
filter, which is nearly free; Taa adds a temporal pass that jitters the
projection and reprojects detail across frames for the cleanest edges, at
the cost of a velocity pre-pass and a per-frame history buffer.
Variants§
Off
No edge smoothing.
Fxaa
Single-frame edge filter in the composite.
Taa
Temporal anti-aliasing: jittered projection plus a reprojected history.
Implementations§
Trait Implementations§
impl Copy for AaMode
Source§impl<'de> Deserialize<'de> for AaMode
impl<'de> Deserialize<'de> for AaMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AaMode
impl StructuralPartialEq for AaMode
Auto Trait Implementations§
impl Freeze for AaMode
impl RefUnwindSafe for AaMode
impl Send for AaMode
impl Sync for AaMode
impl Unpin for AaMode
impl UnsafeUnpin for AaMode
impl UnwindSafe for AaMode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.