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]

fn width(&self) -> u32

Returns the width of that image.

fn height(&self) -> u32

Returns the height of that image.

fn dimensions(&self) -> u32

Returns the dimension of that image.

fn image(&self, layer: CubeLayer) -> SrgbCubemapArrayImage<'t>

Provides an object representing a single layer of this cubemap.

Trait Implementations

impl<'t> Clone for SrgbCubemapArrayLayerMipmap<'t>
[src]

fn clone(&self) -> SrgbCubemapArrayLayerMipmap<'t>

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

impl<'t> Copy for SrgbCubemapArrayLayerMipmap<'t>
[src]