Struct glium::texture::StencilTexture2dMipmap [] [src]

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

Represents a single mipmap level of a StencilTexture2d.

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

Methods

impl<'t> StencilTexture2dMipmap<'t>

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

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for StencilTexture2dMipmap<'t>

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

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

impl<'t> Copy for StencilTexture2dMipmap<'t>