Enum glium::texture::CompressedMipmapsOption
[−]
[src]
pub enum CompressedMipmapsOption {
NoMipmap,
EmptyMipmaps,
EmptyMipmapsMax(u32),
}Describes what to do about mipmaps during compressed texture creation.
Variants
NoMipmapNo mipmaps will be allocated or generated.
EmptyMipmapsAllocates space for all the possible amount of mipmaps given the texture dimensions.
EmptyMipmapsMax(u32)Allocates space for the specified amount of mipmaps (excluding the top level) but does not generate mipmaps.
Trait Implementations
impl PartialEq for CompressedMipmapsOption[src]
fn eq(&self, __arg_0: &CompressedMipmapsOption) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CompressedMipmapsOption) -> bool
This method tests for !=.
impl Eq for CompressedMipmapsOption[src]
impl Clone for CompressedMipmapsOption[src]
fn clone(&self) -> CompressedMipmapsOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more