Enum 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]

[src]

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

[src]

Turns this format into a more generic TextureFormat.

[src]

Returns true if this format is supported by the backend.

Trait Implementations

impl Debug for CompressedSrgbFormat
[src]

[src]

Formats the value using the given formatter.

impl Clone for CompressedSrgbFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CompressedSrgbFormat
[src]

impl Hash for CompressedSrgbFormat
[src]

[src]

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

1.3.0
[src]

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

impl PartialEq for CompressedSrgbFormat
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for CompressedSrgbFormat
[src]