Enum gfx_core::tex::AaMode
[−]
[src]
pub enum AaMode { Single, Multi(NumSamples), Coverage(NumSamples, NumFragments), }
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) -> NumFragments
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.