Struct glium::texture::IntegralTexture2dMipmap [] [src]

pub struct IntegralTexture2dMipmap<'t>(_, _);

Represents a single mipmap level of a IntegralTexture2d.

Can be obtained by calling IntegralTexture2d::mipmap() or IntegralTexture2d::main_level().

Methods

impl<'t> IntegralTexture2dMipmap<'t>

fn get_texture(&self) -> &'t IntegralTexture2d

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for IntegralTexture2dMipmap<'t>

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

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

impl<'t> Copy for IntegralTexture2dMipmap<'t>