pub enum AaMode {
Single,
Multi(u8),
Coverage(u8, u8),
}
Expand description
Describes the configuration of samples inside each texel.
Variants§
Single
No additional sample information
Multi(u8)
MultiSampled Anti-Aliasing (MSAA)
Coverage(u8, u8)
Coverage Sampling Anti-Aliasing (CSAA/EQAA)
Implementations§
source§impl AaMode
impl AaMode
sourcepub fn get_num_fragments(&self) -> u8
pub fn get_num_fragments(&self) -> u8
Return the number of actual data fragments stored per texel.
sourcepub fn needs_resolve(&self) -> bool
pub fn needs_resolve(&self) -> bool
Return true if the surface has to be resolved before sampling.
Trait Implementations§
source§impl Ord for AaMode
impl Ord for AaMode
source§impl PartialEq<AaMode> for AaMode
impl PartialEq<AaMode> for AaMode
source§impl PartialOrd<AaMode> for AaMode
impl PartialOrd<AaMode> for AaMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more