Enum gfx::tex::AaMode []

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

Describes the configuration of samples inside each texel.

Variants

Single

No additional sample information

Multi(u8)

MultiSampled Anti-Aliasing (MSAA)

Coverage(u8u8)

Coverage Sampling Anti-Aliasing (CSAA/EQAA)

Methods

impl AaMode

fn get_num_fragments(&self) -> u8

Return the number of actual data fragments stored per texel.

fn needs_resolve(&self) -> bool

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

Trait Implementations

impl Debug for AaMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Clone for AaMode

fn clone(&self) -> AaMode

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for AaMode

impl Hash for AaMode

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl PartialOrd<AaMode> for AaMode

fn partial_cmp(&self, __arg_0: &AaMode) -> Option<Ordering>

fn lt(&self, __arg_0: &AaMode) -> bool

fn le(&self, __arg_0: &AaMode) -> bool

fn gt(&self, __arg_0: &AaMode) -> bool

fn ge(&self, __arg_0: &AaMode) -> bool

impl PartialEq<AaMode> for AaMode

fn eq(&self, __arg_0: &AaMode) -> bool

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

fn ne(&self, __arg_0: &AaMode) -> bool

This method tests for !=.

impl Ord for AaMode

fn cmp(&self, __arg_0: &AaMode) -> Ordering

impl Eq for AaMode

impl From<u8> for AaMode

fn from(ns: u8) -> AaMode

Performs the conversion.