[−][src]Enum glium::texture::Dimensions
pub enum Dimensions { Texture1d { width: u32, }, Texture1dArray { width: u32, array_size: u32, }, Texture2d { width: u32, height: u32, }, Texture2dArray { width: u32, height: u32, array_size: u32, }, Texture2dMultisample { width: u32, height: u32, samples: u32, }, Texture2dMultisampleArray { width: u32, height: u32, array_size: u32, samples: u32, }, Texture3d { width: u32, height: u32, depth: u32, }, Cubemap { dimension: u32, }, CubemapArray { dimension: u32, array_size: u32, }, }
Type of a texture.
Variants
Fields of Texture1d
width: u32
Fields of Cubemap
dimension: u32
Trait Implementations
impl Clone for Dimensions
[src][+]
impl Copy for Dimensions
[src]
impl Debug for Dimensions
[src][+]
impl Eq for Dimensions
[src]
impl PartialEq<Dimensions> for Dimensions
[src][+]
impl StructuralEq for Dimensions
[src]
impl StructuralPartialEq for Dimensions
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl UnwindSafe for Dimensions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Content for T where
T: Copy,
[src][+]
T: Copy,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,