Struct glium::texture::DepthStencilTexture2dArrayMipmap [] [src]

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

Represents a single mipmap level of a DepthStencilTexture2dArray.

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

Methods

impl<'t> DepthStencilTexture2dArrayMipmap<'t>

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

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 DepthStencilTexture2dArrayMipmap<'t>

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

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

impl<'t> Copy for DepthStencilTexture2dArrayMipmap<'t>