#[repr(u8)]pub enum SampleCount {
One = 1,
Four = 4,
}
Expand description
The sample count when doing multisampling.
Variants§
Implementations§
Source§impl SampleCount
impl SampleCount
Sourcepub fn needs_resolve(self) -> bool
pub fn needs_resolve(self) -> bool
Determines if a resolve texture is needed for this texture.
Trait Implementations§
Source§impl Clone for SampleCount
impl Clone for SampleCount
Source§fn clone(&self) -> SampleCount
fn clone(&self) -> SampleCount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SampleCount
impl Debug for SampleCount
Source§impl Default for SampleCount
impl Default for SampleCount
Source§impl Hash for SampleCount
impl Hash for SampleCount
Source§impl PartialEq for SampleCount
impl PartialEq for SampleCount
Source§impl TryFrom<u8> for SampleCount
impl TryFrom<u8> for SampleCount
impl Copy for SampleCount
impl Eq for SampleCount
impl StructuralPartialEq for SampleCount
Auto Trait Implementations§
impl Freeze for SampleCount
impl RefUnwindSafe for SampleCount
impl Send for SampleCount
impl Sync for SampleCount
impl Unpin for SampleCount
impl UnwindSafe for SampleCount
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