Struct glium::texture::TextureAnyMipmap [] [src]

pub struct TextureAnyMipmap<'a> {
    // some fields omitted
}

Represents a specific mipmap of a texture.

Methods

impl<'a> TextureAnyMipmap<'a>

fn get_texture(&self) -> &'a TextureAny

Returns the texture.

fn get_level(&self) -> u32

Returns the level of the texture.

fn get_layer(&self) -> u32

Returns the layer of the texture.

Trait Implementations

Derived Implementations

impl<'a> Clone for TextureAnyMipmap<'a>

fn clone(&self) -> TextureAnyMipmap<'a>

fn clone_from(&mut self, source: &Self)

impl<'a> Copy for TextureAnyMipmap<'a>