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