pub enum AaMode {
None,
Msaa4x,
Supersampling,
}Expand description
Anti-aliasing mode for the software renderer.
Controls the AA strategy used by polygon / path fill operations.
Msaa4x is listed for forward-compatibility but maps to Supersampling
in the current scanline implementation.
Variants§
None
No anti-aliasing — all edges are aliased (fastest).
Msaa4x
4× multi-sample anti-aliasing (currently maps to the supersample path).
Supersampling
Vertical-supersample coverage AA via the Active Edge Table (default quality).
Trait Implementations§
impl Copy 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,
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