Struct glium::texture::IntegralTexture2dArrayMipmap [] [src]

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

Represents a single mipmap level of a IntegralTexture2dArray.

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

Methods

impl<'t> IntegralTexture2dArrayMipmap<'t>

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

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

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

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

impl<'t> Copy for IntegralTexture2dArrayMipmap<'t>