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

pub enum CompressedSrgbFormat {
    Bptc,
    S3tcDxt1NoAlpha,
    S3tcDxt1Alpha,
    S3tcDxt3Alpha,
    S3tcDxt5Alpha,
}

List of compressed pixel formats in the sRGB color space.

Variants

BPTC format. sRGB with alpha. Also called BC7 by DirectX.

Methods

impl CompressedSrgbFormat
[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 CompressedSrgbFormat
[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 CompressedSrgbFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CompressedSrgbFormat
[src]

Formats the value using the given formatter. Read more

impl Copy for CompressedSrgbFormat
[src]

impl Eq for CompressedSrgbFormat
[src]

impl PartialEq<CompressedSrgbFormat> for CompressedSrgbFormat
[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