Enum gfx::tex::AaMode
[−]
[src]
pub enum AaMode {
Single,
Multi(u8),
Coverage(u8, u8),
}Describes the configuration of samples inside each texel.
Variants
SingleNo additional sample information
Multi(u8)MultiSampled Anti-Aliasing (MSAA)
Coverage(u8, u8)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
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 !=.