Struct glium::texture::DepthTexture1dMipmap [] [src]

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

Represents a single mipmap level of a DepthTexture1d.

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

Methods

impl<'t> DepthTexture1dMipmap<'t>

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

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for DepthTexture1dMipmap<'t>

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

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

impl<'t> Copy for DepthTexture1dMipmap<'t>