Struct nannou::ui::backend::glium::glium::texture::TextureAny [] [src]

pub struct TextureAny { /* fields omitted */ }

A texture whose type isn't fixed at compile-time.

Methods

impl TextureAny
[src]

[src]

Returns the width of the texture.

[src]

Returns the height of the texture.

[src]

Returns the depth of the texture.

[src]

Returns the kind of texture.

[src]

Returns the dimensions of the texture.

[src]

Returns the array size of the texture.

[src]

Returns the number of samples of the texture if it is a multisampling texture.

[src]

Returns a structure that represents the first layer of the texture. All textures have a first layer.

[src]

Returns a structure that represents a specific layer of the texture.

Non-array textures have only one layer. The number of layers can be queried with get_array_size.

Returns None if out of range.

[src]

Returns the type of the texture (1D, 2D, 3D, etc.).

[src]

Determines the internal format of this texture.

[src]

Returns the number of mipmap levels of the texture.

[src]

Returns a structure that represents the main mipmap level of the texture.

[src]

Returns a structure that represents a specific mipmap of the texture.

Returns None if out of range.

[src]

Binds this texture and generates mipmaps.

Trait Implementations

impl Debug for TextureAny
[src]

[src]

Formats the value using the given formatter.

impl GlObject for TextureAny
[src]

The type of identifier for this object.

[src]

Returns the id of the object.

impl Drop for TextureAny
[src]

[src]

Executes the destructor for this type. Read more