Type Alias Luma

Source
pub type Luma = Lumaa<Srgb, f32>;

Aliased Type§

#[repr(C)]
pub struct Luma { pub color: Luma, pub alpha: f32, }

Fields§

§color: Luma

The color.

§alpha: f32

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