pub enum TextureDim {
D1,
D2,
D3,
Cube,
}Expand description
The dimensionality of a texture or image. Whether it is an array or multisampled is separate.
Variants§
D1
A one-dimensional texture or image.
D2
A two-dimensional texture or image.
D3
A three-dimensional (volume) texture or image.
Cube
A cube map (six faces, sampled by direction).
Trait Implementations§
Source§impl Clone for TextureDim
impl Clone for TextureDim
impl Copy for TextureDim
Source§impl Debug for TextureDim
impl Debug for TextureDim
impl Eq for TextureDim
Source§impl Hash for TextureDim
impl Hash for TextureDim
Source§impl Ord for TextureDim
impl Ord for TextureDim
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TextureDim
impl PartialEq for TextureDim
Source§impl PartialOrd for TextureDim
impl PartialOrd for TextureDim
Source§impl Serialize for TextureDim
impl Serialize for TextureDim
impl StructuralPartialEq for TextureDim
Auto Trait Implementations§
impl Freeze for TextureDim
impl RefUnwindSafe for TextureDim
impl Send for TextureDim
impl Sync for TextureDim
impl Unpin for TextureDim
impl UnsafeUnpin for TextureDim
impl UnwindSafe for TextureDim
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