Enum glium::texture::SrgbFormat [] [src]

pub enum SrgbFormat {
    U8U8U8,
    U8U8U8U8,
}

List of uncompressed pixel formats that contain floating-point data in the sRGB color space.

Variants

Methods

impl SrgbFormat
[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.

[src]

Returns true if a texture or renderbuffer with this format can be used as a framebuffer attachment.

Trait Implementations

impl Debug for SrgbFormat
[src]

[src]

Formats the value using the given formatter.

impl Clone for SrgbFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SrgbFormat
[src]

impl Hash for SrgbFormat
[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 SrgbFormat
[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 SrgbFormat
[src]