Enum glium::texture::MipmapsOption
[−]
[src]
pub enum MipmapsOption { NoMipmap, EmptyMipmaps, EmptyMipmapsMax(u32), AutoGeneratedMipmaps, AutoGeneratedMipmapsMax(u32), }
Describes what to do about mipmaps during texture creation.
Variants
NoMipmap | No mipmap 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. |
AutoGeneratedMipmaps | 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. |
AutoGeneratedMipmapsMax | 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. |