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