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
impl Debug for Gamma
[src]
impl PartialEq for Gamma
[src]
fn eq(&self, __arg_0: &Gamma) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for Gamma
[src]
fn clone(&self) -> Gamma
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more