Enum spirv_std::image::Dimensionality
source · pub enum Dimensionality {
OneD,
TwoD,
ThreeD,
Cube,
Rect,
Buffer,
SubpassData,
}
Expand description
The dimension of the image.
Variants§
OneD
1D
TwoD
2D
ThreeD
3D
Cube
2D Cubemap texture
Rect
2D Rectangle texture
Buffer
1D Buffer texture
SubpassData
Vulkan subpass buffer
Trait Implementations§
source§impl Clone for Dimensionality
impl Clone for Dimensionality
source§fn clone(&self) -> Dimensionality
fn clone(&self) -> Dimensionality
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 PartialEq<Dimensionality> for Dimensionality
impl PartialEq<Dimensionality> for Dimensionality
source§fn eq(&self, other: &Dimensionality) -> bool
fn eq(&self, other: &Dimensionality) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.