Skip to main content

Lmsa

Type Alias Lmsa 

Source
pub type Lmsa<M, T> = Alpha<Lms<M, T>, T>;
Expand description

Generic LMS with an alpha component. See Lmsa implementation in Alpha.

Aliased Type§

#[repr(C)]
pub struct Lmsa<M, T> { pub color: Lms<M, T>, pub alpha: T, }

Fields§

§color: Lms<M, T>

The color.

§alpha: T

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