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