Struct glium::texture::UnsignedTexture2dMipmap [] [src]

pub struct UnsignedTexture2dMipmap<'t>(_, _);

Represents a single mipmap level of a UnsignedTexture2d.

Can be obtained by calling UnsignedTexture2d::mipmap() or UnsignedTexture2d::main_level().

Methods

impl<'t> UnsignedTexture2dMipmap<'t>

fn get_texture(&self) -> &'t UnsignedTexture2d

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for UnsignedTexture2dMipmap<'t>

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

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

impl<'t> Copy for UnsignedTexture2dMipmap<'t>