Struct glium::texture::UnsignedTexture2dArrayMipmap [] [src]

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

Represents a single mipmap level of a UnsignedTexture2dArray.

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

Methods

impl<'t> UnsignedTexture2dArrayMipmap<'t>

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

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

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

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

impl<'t> Copy for UnsignedTexture2dArrayMipmap<'t>