Type Alias GammaLumaa

Source
pub type GammaLumaa<T = f32> = Lumaa<Gamma<D65>, T>;
Expand description

Gamma 2.2 encoded luminance with an alpha component.

Aliased Type§

#[repr(C)]
pub struct GammaLumaa<T = f32> { pub color: Luma<Gamma<D65>, T>, pub alpha: T, }

Fields§

§color: Luma<Gamma<D65>, T>

The color.

§alpha: T

The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.