pub struct AntiAliasingStyle {
pub edge_smoothing: bool,
}Expand description
Anti-aliasing applied to the presented image.
The engine renders into an HDR history buffer; this setting decides how the
resolved image is smoothed on its way to the display. Edge smoothing runs at
O(pixels) in the tonemap pass and is fused there, so selecting it never
adds a pass; the temporal resolve is a separate, always-on mechanism that a
moving camera relies on regardless of this choice.
Fields§
§edge_smoothing: boolWhether the tonemap pass smooths edges.
A still, converged image is already smooth, so the default leaves this off and lets callers enable it for a realtime or non-converging view.
Implementations§
Trait Implementations§
Source§impl Clone for AntiAliasingStyle
impl Clone for AntiAliasingStyle
impl Copy for AntiAliasingStyle
Source§impl Debug for AntiAliasingStyle
impl Debug for AntiAliasingStyle
Source§impl Default for AntiAliasingStyle
impl Default for AntiAliasingStyle
Source§impl<'de> Deserialize<'de> for AntiAliasingStyle
impl<'de> Deserialize<'de> for AntiAliasingStyle
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
Source§impl PartialEq for AntiAliasingStyle
impl PartialEq for AntiAliasingStyle
Source§impl Serialize for AntiAliasingStyle
impl Serialize for AntiAliasingStyle
impl StructuralPartialEq for AntiAliasingStyle
Auto Trait Implementations§
impl Freeze for AntiAliasingStyle
impl RefUnwindSafe for AntiAliasingStyle
impl Send for AntiAliasingStyle
impl Sync for AntiAliasingStyle
impl Unpin for AntiAliasingStyle
impl UnsafeUnpin for AntiAliasingStyle
impl UnwindSafe for AntiAliasingStyle
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more