Struct glium::texture::DepthTexture2dArrayMipmap
[−]
[src]
pub struct DepthTexture2dArrayMipmap<'t>(_, _);
Represents a single mipmap level of a DepthTexture2dArray.
Can be obtained by calling DepthTexture2dArrayLayer::mipmap() or
DepthTexture2dArrayLayer::main_level().
Methods
impl<'t> DepthTexture2dArrayMipmap<'t>
fn get_texture(&self) -> &'t DepthTexture2dArray
Returns the corresponding texture.
fn get_level(&self) -> u32
Returns the texture level.
fn get_layer(&self) -> u32
Returns the layer index.