Enum glium::texture::CompressedMipmapsOption [] [src]

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

Describes what to do about mipmaps during compressed texture creation.

Variants

NoMipmap

No mipmaps will be allocated or generated.

EmptyMipmaps

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

EmptyMipmapsMax

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

Trait Implementations

Derived Implementations

impl PartialEq for CompressedMipmapsOption

fn eq(&self, __arg_0: &CompressedMipmapsOption) -> bool

fn ne(&self, __arg_0: &CompressedMipmapsOption) -> bool

impl Eq for CompressedMipmapsOption

impl Clone for CompressedMipmapsOption

fn clone(&self) -> CompressedMipmapsOption

fn clone_from(&mut self, source: &Self)

impl Copy for CompressedMipmapsOption

impl Debug for CompressedMipmapsOption

fn fmt(&self, __arg_0: &mut Formatter) -> Result