Enum 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 From<CompressedMipmapsOption> for MipmapsOption
[src]

[src]

Performs the conversion.

impl Debug for CompressedMipmapsOption
[src]

[src]

Formats the value using the given formatter.

impl Copy for CompressedMipmapsOption
[src]

impl Clone for CompressedMipmapsOption
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for CompressedMipmapsOption
[src]

impl PartialEq for CompressedMipmapsOption
[src]

[src]

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

[src]

This method tests for !=.