Enum glenum::TextureCompression [] [src]

pub enum TextureCompression {
    RgbDxt1,
    RgbaDxt1,
    RgbaDxt3,
    RgbaDxt5,
}

Variants

A DXT1-compressed image in an RGB image format.

A DXT1-compressed image in an RGB image format with a simple on/off alpha value.

A DXT3-compressed image in an RGBA image format. Compared to a 32-bit RGBA texture, it offers 4:1 compression.

A DXT5-compressed image in an RGBA image format. It also provides a 4:1 compression, but differs to the DXT3 compression in how the alpha compression is done.

Trait Implementations

impl Debug for TextureCompression
[src]

[src]

Formats the value using the given formatter.

impl Clone for TextureCompression
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TextureCompression
[src]