Struct glium::texture::SrgbTexture2dMipmap
[−]
[src]
pub struct SrgbTexture2dMipmap<'t>(_, _);
Represents a single mipmap level of a SrgbTexture2d.
Can be obtained by calling SrgbTexture2d::mipmap() or SrgbTexture2d::main_level().
Methods
impl<'t> SrgbTexture2dMipmap<'t>
fn get_texture(&self) -> &'t SrgbTexture2d
Returns the corresponding texture.
fn get_level(&self) -> u32
Returns the texture level.