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.
Enums§
- Color
Space - The colorspace used to interpret pixel values.
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.