pub enum TextureViewDimension {
D1,
D2,
D2Array,
Cube,
CubeArray,
D3,
}
Expand description
The dimensionality of a texture view.
Variants§
D1
A view of a 1D texture.
D2
A view of a 2D texture.
D2Array
A view of a 2D texture array.
Cube
A view of a cubemap texture (6 faces of a 2D texture).
CubeArray
A view of a cubemap texture array.
D3
A view of a 3D texture.
Trait Implementations§
Source§impl Clone for TextureViewDimension
impl Clone for TextureViewDimension
Source§fn clone(&self) -> TextureViewDimension
fn clone(&self) -> TextureViewDimension
Returns a duplicate 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 Debug for TextureViewDimension
impl Debug for TextureViewDimension
Source§impl Hash for TextureViewDimension
impl Hash for TextureViewDimension
Source§impl PartialEq for TextureViewDimension
impl PartialEq for TextureViewDimension
impl Copy for TextureViewDimension
impl Eq for TextureViewDimension
impl StructuralPartialEq for TextureViewDimension
Auto Trait Implementations§
impl Freeze for TextureViewDimension
impl RefUnwindSafe for TextureViewDimension
impl Send for TextureViewDimension
impl Sync for TextureViewDimension
impl Unpin for TextureViewDimension
impl UnwindSafe for TextureViewDimension
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