Struct glium::texture::srgb_cubemap_array::SrgbCubemapArrayLayerMipmap
[−]
[src]
pub struct SrgbCubemapArrayLayerMipmap<'t>(_, _);
Represents a single layer of a mipmap level of a SrgbCubemapArray.
Methods
impl<'t> SrgbCubemapArrayLayerMipmap<'t>[src]
pub fn width(&self) -> u32[src]
Returns the width of that image.
pub fn height(&self) -> u32[src]
Returns the height of that image.
pub fn dimensions(&self) -> u32[src]
Returns the dimension of that image.
pub fn image(&self, layer: CubeLayer) -> SrgbCubemapArrayImage<'t>[src]
Provides an object representing a single layer of this cubemap.
Trait Implementations
impl<'t> Copy for SrgbCubemapArrayLayerMipmap<'t>[src]
impl<'t> Clone for SrgbCubemapArrayLayerMipmap<'t>[src]
fn clone(&self) -> SrgbCubemapArrayLayerMipmap<'t>[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