pub enum ImageType {
Texture1D = 0,
TextureArray1D = 1,
Texture2D = 2,
TextureArray2D = 3,
Texture3D = 4,
Cube = 5,
CubeArray = 6,
}
Expand description
Describes the number of dimensions and array elements of an image.
Variants§
Texture1D = 0
One dimensional (linear) image.
TextureArray1D = 1
One dimensional (linear) image with multiple array elements.
Texture2D = 2
Two dimensional (planar) image.
TextureArray2D = 3
Two dimensional (planar) image with multiple array elements.
Texture3D = 4
Three dimensional (volume) image.
Cube = 5
Six two-dimensional images.
CubeArray = 6
Six two-dimensional images with multiple array elements.
Trait Implementations§
source§impl PartialEq for ImageType
impl PartialEq for ImageType
impl Copy for ImageType
impl Eq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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