[go: up one dir, main page]

Enum gfx::texture::AaMode []

pub enum AaMode {
    Single,
    Multi(u8),
    Coverage(u8u8),
}

Describes the configuration of samples inside each texel.

Variants

No additional sample information

MultiSampled Anti-Aliasing (MSAA)

Coverage Sampling Anti-Aliasing (CSAA/EQAA)

Methods

impl AaMode

Return the number of actual data fragments stored per texel.

Return true if the surface has to be resolved before sampling.

Trait Implementations

impl PartialEq<AaMode> for AaMode

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u8> for AaMode

Performs the conversion.

impl Clone for AaMode

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for AaMode

impl PartialOrd<AaMode> for AaMode

impl Copy for AaMode

impl Debug for AaMode

Formats the value using the given formatter.

impl Hash for AaMode

impl Ord for AaMode