Enum gfx::texture::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[src]
fn get_num_fragments(&self) -> u8[src]
Return the number of actual data fragments stored per texel.
fn needs_resolve(&self) -> bool[src]
Return true if the surface has to be resolved before sampling.
Trait Implementations
impl Ord for AaMode[src]
impl Copy for AaMode[src]
impl Clone for AaMode[src]
fn clone(&self) -> AaMode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialOrd<AaMode> for AaMode[src]
fn partial_cmp(&self, __arg_0: &AaMode) -> Option<Ordering>[src]
fn lt(&self, __arg_0: &AaMode) -> bool[src]
fn le(&self, __arg_0: &AaMode) -> bool[src]
fn gt(&self, __arg_0: &AaMode) -> bool[src]
fn ge(&self, __arg_0: &AaMode) -> bool[src]
impl Hash for AaMode[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl From<u8> for AaMode[src]
impl PartialEq<AaMode> for AaMode[src]
fn eq(&self, __arg_0: &AaMode) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AaMode) -> bool[src]
This method tests for !=.
impl Debug for AaMode[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.