Structsยง
- Color
- An RGBA color value, holding four floating point components.
- ColorU8
- A 32-bit RGBA color value.
- Premultiplied
Color - A premultiplied RGBA color value, holding four floating point components.
- Premultiplied
Color U8 - A 32-bit premultiplied RGBA color value.
Constantsยง
- ALPHA_
OPAQUE - Represents fully opaque Alpha value.
- ALPHA_
TRANSPARENT - Represents fully transparent Alpha value.
- ALPHA_
U8_ OPAQUE - Represents fully opaque AlphaU8 value.
- ALPHA_
U8_ TRANSPARENT - Represents fully transparent AlphaU8 value.
- NV_ONE ๐
- NV_ZERO ๐
Functionsยง
- color_
f32_ ๐to_ u8 - premultiply_
u8 - Return a*b/255, rounding any fractional bits.
Type Aliasesยง
- AlphaU8
- 8-bit type for an alpha value. 255 is 100% opaque, zero is 100% transparent.