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

pub enum CompressedMipmapsOption {
    NoMipmap,
    EmptyMipmaps,
    EmptyMipmapsMax(u32),
}

Describes what to do about mipmaps during compressed texture creation.

Variants

No mipmaps 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.

Trait Implementations

impl Clone for CompressedMipmapsOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CompressedMipmapsOption
[src]

Formats the value using the given formatter. Read more

impl From<CompressedMipmapsOption> for MipmapsOption
[src]

Performs the conversion.

impl Copy for CompressedMipmapsOption
[src]

impl Eq for CompressedMipmapsOption
[src]

impl PartialEq<CompressedMipmapsOption> for CompressedMipmapsOption
[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