Type Alias GammaLuma

Source
pub type GammaLuma<T = f32> = Luma<Gamma<D65>, T>;
Expand description

Gamma 2.2 encoded luminance.

Aliased Type§

#[repr(C)]
pub struct GammaLuma<T = f32> { pub luma: T, pub standard: PhantomData<Gamma<D65>>, }

Fields§

§luma: T

The lightness of the color. 0.0 is black and 1.0 is white.

§standard: PhantomData<Gamma<D65>>

The kind of RGB standard. sRGB is the default.