Enum vulkano::image::ImageAspect
source · [−]#[repr(u32)]
pub enum ImageAspect {
Color,
Depth,
Stencil,
Metadata,
Plane0,
Plane1,
Plane2,
MemoryPlane0,
MemoryPlane1,
MemoryPlane2,
}
Expand description
An individual data type within an image.
Most images have only the Color
aspect, but some may have several.
Variants
Color
Depth
Stencil
Metadata
Plane0
Plane1
Plane2
MemoryPlane0
MemoryPlane1
MemoryPlane2
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ImageAspect
impl Send for ImageAspect
impl Sync for ImageAspect
impl Unpin for ImageAspect
impl UnwindSafe for ImageAspect
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.