[][src]Enum wgpu::TextureViewDimension

#[repr(C)]pub enum TextureViewDimension {
    D1,
    D2,
    D2Array,
    Cube,
    CubeArray,
    D3,
}

Dimensions of a particular texture view.

Variants

D1

A one dimensional texture. texture1D in glsl shaders.

D2

A two dimensional texture. texture2D in glsl shaders.

D2Array

A two dimensional array texture. texture2DArray in glsl shaders.

Cube

A cubemap texture. textureCube in glsl shaders.

CubeArray

A cubemap array texture. textureCubeArray in glsl shaders.

D3

A three dimensional texture. texture3D in glsl shaders.

Trait Implementations

impl Clone for TextureViewDimension[src]

impl Copy for TextureViewDimension[src]

impl Debug for TextureViewDimension[src]

impl<'de> Deserialize<'de> for TextureViewDimension[src]

impl Eq for TextureViewDimension[src]

impl Hash for TextureViewDimension[src]

impl PartialEq<TextureViewDimension> for TextureViewDimension[src]

impl Serialize for TextureViewDimension[src]

impl StructuralEq for TextureViewDimension[src]

impl StructuralPartialEq for TextureViewDimension[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.