Enum screen_13::driver::image::SampleCount
source · pub enum SampleCount {
X1,
X2,
X4,
X8,
X16,
X32,
X64,
}Expand description
Specifies sample counts supported for an image used for storage operation.
Values must not exceed the device limits specified by [Device.physical_device.props.limits].
Variants§
X1
Single image sample. This is the usual mode.
X2
Multiple image samples.
X4
Multiple image samples.
X8
Multiple image samples.
X16
Multiple image samples.
X32
Multiple image samples.
X64
Multiple image samples.
Trait Implementations§
source§impl Clone for SampleCount
impl Clone for SampleCount
source§fn clone(&self) -> SampleCount
fn clone(&self) -> SampleCount
Returns a copy 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<SampleCount> for SampleCount
impl PartialEq<SampleCount> for SampleCount
source§fn eq(&self, other: &SampleCount) -> bool
fn eq(&self, other: &SampleCount) -> bool
This method tests for
self and other values to be equal, and is used
by ==.