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
Texture1dFields
width: u32 |
Texture1dArrayFields
width: u32 | |
array_size: u32 |
Texture2dFields
width: u32 | |
height: u32 |
Texture2dArrayFields
width: u32 | |
height: u32 | |
array_size: u32 |
Texture2dMultisampleFields
width: u32 | |
height: u32 | |
samples: u32 |
Texture2dMultisampleArrayFields
width: u32 | |
height: u32 | |
array_size: u32 | |
samples: u32 |
Texture3dFields
width: u32 | |
height: u32 | |
depth: u32 |
CubemapFields
dimension: u32 |
CubemapArrayFields
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