Struct nannou::ui::backend::glium::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]

Returns the texture.

Returns the level of the texture.

Returns the layer of the texture.

Returns the width of this texture slice.

Returns the height of this texture slice.

Returns the number of samples of the texture.

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> Clone for TextureAnyLayerMipmap<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl<'a> !Send for TextureAnyLayerMipmap<'a>

impl<'a> !Sync for TextureAnyLayerMipmap<'a>