Enum nannou::ui::backend::glium::glium::texture::CompressedFormat[][src]

pub enum CompressedFormat {
    RgtcFormatU,
    RgtcFormatI,
    RgtcFormatUU,
    RgtcFormatII,
    BptcUnorm4,
    BptcSignedFloat3,
    BptcUnsignedFloat3,
    S3tcDxt1NoAlpha,
    S3tcDxt1Alpha,
    S3tcDxt3Alpha,
    S3tcDxt5Alpha,
}

List of compressed texture formats.

Variants

Red/green compressed texture with one unsigned component.

Red/green compressed texture with one signed component.

Red/green compressed texture with two unsigned components.

Red/green compressed texture with two signed components.

BPTC format with four components represented as integers.

BPTC format with three components (no alpha) represented as signed floats.

BPTC format with three components (no alpha) represented as unsigned floats.

S3TC DXT1 without alpha, see https://www.opengl.org/wiki/S3_Texture_Compression.

S3TC DXT1 with 1-bit alpha, see https://www.opengl.org/wiki/S3_Texture_Compression.

S3TC DXT3, see https://www.opengl.org/wiki/S3_Texture_Compression.

S3TC DXT5, see https://www.opengl.org/wiki/S3_Texture_Compression.

Methods

impl CompressedFormat
[src]

Important traits for Vec<u8>

Returns a list of all the possible values of this enumeration.

Turns this format into a more generic TextureFormat.

Returns true if this format is supported by the backend.

Trait Implementations

impl Hash for CompressedFormat
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for CompressedFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CompressedFormat
[src]

Formats the value using the given formatter. Read more

impl Copy for CompressedFormat
[src]

impl Eq for CompressedFormat
[src]

impl PartialEq<CompressedFormat> for CompressedFormat
[src]

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

This method tests for !=.

Auto Trait Implementations