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