Enum gfx::device::draw::Gamma [] [src]

pub enum Gamma {
    Original,
    Convert,
}

Type of the gamma transformation for framebuffer writes.

Variants

Original

Process in linear color space.

Convert

Convert to sRGB color space.

Trait Implementations

Derived Implementations

impl Debug for Gamma

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

impl PartialEq for Gamma

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

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

impl Clone for Gamma

fn clone(&self) -> Gamma

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

impl Copy for Gamma