Struct glium::texture::SrgbTexture3dMipmap [] [src]

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

Represents a single mipmap level of a SrgbTexture3d.

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

Methods

impl<'t> SrgbTexture3dMipmap<'t>

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

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for SrgbTexture3dMipmap<'t>

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

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

impl<'t> Copy for SrgbTexture3dMipmap<'t>