Enum spirv_std::image::ImageDepth
source · pub enum ImageDepth {
False,
True,
Unknown,
}
Expand description
Whether a given image contains depth information. Note Whether or not to perform depth comparisons is a property of the sampling code, not of this type.
Variants§
False
Indicates that the image does not contain depth information.
True
Indicates that the image contains depth information.
Unknown
Indicates that is not known ahead of time whether the image has depth information or not.
Trait Implementations§
source§impl Clone for ImageDepth
impl Clone for ImageDepth
source§fn clone(&self) -> ImageDepth
fn clone(&self) -> ImageDepth
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 From<bool> for ImageDepth
impl From<bool> for ImageDepth
source§fn from(val: bool) -> ImageDepth
fn from(val: bool) -> ImageDepth
Converts to this type from the input type.
source§impl PartialEq<ImageDepth> for ImageDepth
impl PartialEq<ImageDepth> for ImageDepth
source§fn eq(&self, other: &ImageDepth) -> bool
fn eq(&self, other: &ImageDepth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.