Struct glium::texture::compressed_srgb_cubemap_array::CompressedSrgbCubemapArrayLayer [] [src]

pub struct CompressedSrgbCubemapArrayLayer<'t>(_, _);
[]

Represents a single layer of a CompressedSrgbCubemapArray.

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

Methods

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

[src]
[]

Returns the width of that image.

[src]
[]

Returns the height of that image.

[src]
[]

Returns the dimension of that image.

[src]
[]

Returns the corresponding texture.

[src]
[]

Returns the layer index.

[src]
[]

Returns the number of mipmap levels of the texture.

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

[src]
[]

Access a single mipmap level of this layer.

[src]
[]

Access the main mipmap level of this layer.

Trait Implementations

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

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

[src]
[]

Returns a copy of the value. Read more

1.0.0
[src]
[]

Performs copy-assignment from source. Read more