Enum nannou::ui::backend::glium::glium::texture::MipmapsOption[][src]

pub enum MipmapsOption {
    NoMipmap,
    EmptyMipmaps,
    EmptyMipmapsMax(u32),
    AutoGeneratedMipmaps,
    AutoGeneratedMipmapsMax(u32),
}

Describes what to do about mipmaps during texture creation.

Variants

No mipmap will be allocated or generated.

Allocates space for all the possible amount of mipmaps given the texture dimensions.

Allocates space for the specified amount of mipmaps (excluding the top level) but does not generate mipmaps.

Allocates and generates mipmaps for all the possible levels given the texture dimensions.

This does not mean that you will get mipmaps, instead it indicates that mipmaps are allowed to be generated if possible.

Allocates and generates mipmaps for the specified amount of mipmaps (excluding the top level) the possible levels given the texture dimensions.

This does not mean that you will get mipmaps, instead it indicates that mipmaps are allowed to be generated if possible.

Trait Implementations

impl Clone for MipmapsOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MipmapsOption
[src]

Formats the value using the given formatter. Read more

impl From<CompressedMipmapsOption> for MipmapsOption
[src]

Performs the conversion.

impl Copy for MipmapsOption
[src]

impl Eq for MipmapsOption
[src]

impl PartialEq<MipmapsOption> for MipmapsOption
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations