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.

Trait Implementations

Derived Implementations

impl<'t> Clone for SrgbTexture1dMipmap<'t>

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

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

impl<'t> Copy for SrgbTexture1dMipmap<'t>