Type Alias RGBA8

Source
pub type RGBA8 = Rgba<u8>;
Expand description

8-bit RGBA, alpha is last. 0 = transparent, 255 = opaque.

Aliased Type§

#[repr(C)]
pub struct RGBA8 { pub r: u8, pub g: u8, pub b: u8, pub a: u8, }

Fields§

§r: u8

Red Component

§g: u8

Green Component

§b: u8

Blue Component

§a: u8

Alpha Component