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

U8U8U8
U8U8U8U8

Methods

impl SrgbFormat

fn to_texture_format(self) -> TextureFormat

Turns this format into a more generic TextureFormat.

Trait Implementations

Derived Implementations

impl Eq for SrgbFormat

impl PartialEq for SrgbFormat

fn eq(&self, __arg_0: &SrgbFormat) -> bool

fn ne(&self, __arg_0: &SrgbFormat) -> bool

impl Copy for SrgbFormat

impl Clone for SrgbFormat

fn clone(&self) -> SrgbFormat

fn clone_from(&mut self, source: &Self)

impl Debug for SrgbFormat

fn fmt(&self, __arg_0: &mut Formatter) -> Result