Luna::Color::from_argb8
constexpr Float4 from_argb8(u32 color)
Converts one 32-bit color value to one Float4 linear color. The source color is interpreted in ARGB order (A in least significant 8 bits, B in most significant 8 bits).
Parameters
-
in color
The color to convert.
Return value
Returns the converted color.