Struct glium::texture::compressed_srgb_cubemap_array::CompressedSrgbCubemapArrayLayerMipmap
[−]
[src]
pub struct CompressedSrgbCubemapArrayLayerMipmap<'t>(_, _);
Represents a single layer of a mipmap level of a CompressedSrgbCubemapArray
.
Methods
impl<'t> CompressedSrgbCubemapArrayLayerMipmap<'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) -> CompressedSrgbCubemapArrayImage<'t>
[src]
Provides an object representing a single layer of this cubemap.
Trait Implementations
impl<'t> Copy for CompressedSrgbCubemapArrayLayerMipmap<'t>
[src]
impl<'t> Clone for CompressedSrgbCubemapArrayLayerMipmap<'t>
[src]
fn clone(&self) -> CompressedSrgbCubemapArrayLayerMipmap<'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