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.