Struct nannou::ui::backend::glium::glium::texture::srgb_texture2d_array::SrgbTexture2dArrayLayer[][src]

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

Represents a single layer of a SrgbTexture2dArray.

Can be obtained by calling SrgbTexture2dArray::layer().

Methods

impl<'t> SrgbTexture2dArrayLayer<'t>
[src]

Returns the width of that image.

Returns the height of that image.

Returns the width and height of that image.

Returns the corresponding texture.

Returns the layer index.

Returns the number of mipmap levels of the texture.

The minimum value is 1, since there is always a main texture.

Access a single mipmap level of this layer.

Access the main mipmap level of this layer.

Trait Implementations

impl<'t> Clone for SrgbTexture2dArrayLayer<'t>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'t> Copy for SrgbTexture2dArrayLayer<'t>
[src]

Auto Trait Implementations

impl<'t> !Send for SrgbTexture2dArrayLayer<'t>

impl<'t> !Sync for SrgbTexture2dArrayLayer<'t>