Struct glium::texture::TextureAnyLayerMipmap [] [src]

pub struct TextureAnyLayerMipmap<'a> { /* fields omitted */ }

Represents a specific layer of a specific mipmap. This is the same as TextureAnyImage, except for 3D textures, cubemaps and cubemap arrays.

Methods

impl<'a> TextureAnyLayerMipmap<'a>
[src]

[src]

Returns the texture.

[src]

Returns the level of the texture.

[src]

Returns the layer of the texture.

[src]

Returns the width of this texture slice.

[src]

Returns the height of this texture slice.

[src]

Returns the number of samples of the texture.

[src]

Turns this into an image.

Returns None if cube_layer is None and the texture is a cubemap. Returns None if cube_layer is Some and the texture is not a cubemap.

Trait Implementations

impl<'a> Copy for TextureAnyLayerMipmap<'a>
[src]

impl<'a> Clone for TextureAnyLayerMipmap<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more