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 PartialOrd for AaMode
impl PartialOrd for AaMode
impl Copy for AaMode
impl Eq for AaMode
impl StructuralPartialEq for AaMode
Auto Trait Implementations§
impl Freeze for AaMode
impl RefUnwindSafe for AaMode
impl Send for AaMode
impl Sync for AaMode
impl Unpin for AaMode
impl UnwindSafe for AaMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more