Struct glium::texture::CompressedTexture2dArrayMipmap [] [src]

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

Represents a single mipmap level of a CompressedTexture2dArray.

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

Methods

impl<'t> CompressedTexture2dArrayMipmap<'t>

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

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

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

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

impl<'t> Copy for CompressedTexture2dArrayMipmap<'t>