Struct glium::texture::StencilTexture1dMipmap [] [src]

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

Represents a single mipmap level of a StencilTexture1d.

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

Methods

impl<'t> StencilTexture1dMipmap<'t>

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

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for StencilTexture1dMipmap<'t>

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

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

impl<'t> Copy for StencilTexture1dMipmap<'t>