Enum glium::texture::Dimensions
[−]
[src]
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
Texture1d
Fields of Texture1d
width: u32 |
Texture1dArray
Fields of Texture1dArray
width: u32 | |
array_size: u32 |
Texture2d
Fields of Texture2d
width: u32 | |
height: u32 |
Texture2dArray
Fields of Texture2dArray
width: u32 | |
height: u32 | |
array_size: u32 |
Texture2dMultisample
Fields of Texture2dMultisample
width: u32 | |
height: u32 | |
samples: u32 |
Texture2dMultisampleArray
Fields of Texture2dMultisampleArray
width: u32 | |
height: u32 | |
array_size: u32 | |
samples: u32 |
Texture3d
Fields of Texture3d
width: u32 | |
height: u32 | |
depth: u32 |
Cubemap
Fields of Cubemap
dimension: u32 |
CubemapArray
Fields of CubemapArray
dimension: u32 | |
array_size: u32 |
Trait Implementations
impl Copy for Dimensions
[src]
impl Clone for Dimensions
[src]
fn clone(&self) -> Dimensions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Dimensions
[src]
impl PartialEq for Dimensions
[src]
fn eq(&self, __arg_0: &Dimensions) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Dimensions) -> bool
[src]
This method tests for !=
.