Struct glium::texture::DepthStencilTexture2dMipmap [] [src]

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

Represents a single mipmap level of a DepthStencilTexture2d.

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

Methods

impl<'t> DepthStencilTexture2dMipmap<'t>

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

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for DepthStencilTexture2dMipmap<'t>

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

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

impl<'t> Copy for DepthStencilTexture2dMipmap<'t>