Struct glium::texture::DepthTexture2dMipmap [] [src]

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

Represents a single mipmap level of a DepthTexture2d.

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

Methods

impl<'t> DepthTexture2dMipmap<'t>

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

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for DepthTexture2dMipmap<'t>

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

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

impl<'t> Copy for DepthTexture2dMipmap<'t>