Struct glium::texture::DepthTexture1dArrayMipmap [] [src]

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

Represents a single mipmap level of a DepthTexture1dArray.

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

Methods

impl<'t> DepthTexture1dArrayMipmap<'t>

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

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

fn get_layer(&self) -> u32

Returns the layer index.

Trait Implementations

Derived Implementations

impl<'t> Clone for DepthTexture1dArrayMipmap<'t>

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

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

impl<'t> Copy for DepthTexture1dArrayMipmap<'t>