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