pub enum ImageType {
Texture1D,
TextureArray1D,
Texture2D,
TextureArray2D,
Texture3D,
Cube,
CubeArray,
}Expand description
Describes the number of dimensions and array elements of an image.
Variants§
Texture1D
One dimensional (linear) image.
TextureArray1D
One dimensional (linear) image with multiple array elements.
Texture2D
Two dimensional (planar) image.
TextureArray2D
Two dimensional (planar) image with multiple array elements.
Texture3D
Three dimensional (volume) image.
Cube
Six two-dimensional images.
CubeArray
Six two-dimensional images with multiple array elements.
Trait Implementations§
source§impl PartialEq<ImageType> for ImageType
impl PartialEq<ImageType> for ImageType
impl Copy for ImageType
impl Eq for ImageType
impl StructuralEq 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