Struct glium::texture::SrgbTexture1dArrayMipmap [] [src]

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

Represents a single mipmap level of a SrgbTexture1dArray.

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

Methods

impl<'t> SrgbTexture1dArrayMipmap<'t>

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

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

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

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

impl<'t> Copy for SrgbTexture1dArrayMipmap<'t>