[][src]Enum duku::Msaa

pub enum Msaa {
    X4,
    X8,
    X16,
    Disabled,
}

Multi Sample Anti-Aliasing mode.

Makes mesh outlines smoother (adds anti-aliasing) by sampling each pixel multiple times.

Higher settings greatly impact performance, also require more memory for bigger canvases.

Variants

X4

samples each pixel 4 times

X8

samples each pixel 8 times

X16

samples each pixel 16 times

Disabled

no MSAA is applied

Trait Implementations

impl Clone for Msaa[src]

impl Copy for Msaa[src]

impl Debug for Msaa[src]

impl Eq for Msaa[src]

impl PartialEq<Msaa> for Msaa[src]

impl StructuralEq for Msaa[src]

impl StructuralPartialEq for Msaa[src]

Auto Trait Implementations

impl RefUnwindSafe for Msaa

impl Send for Msaa

impl Sync for Msaa

impl Unpin for Msaa

impl UnwindSafe for Msaa

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.