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.

Trait Implementations

Derived Implementations

impl<'t> Clone for SrgbTexture2dMipmap<'t>

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

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

impl<'t> Copy for SrgbTexture2dMipmap<'t>