2#include <lib/rvl/gx/GX.h>
14 Color(u8 red, u8 green, u8 blue, u8 alpha) { r = red; g = green; b = blue; a = alpha; }
17 Color(u32 color) { rgba = color; }
struct _GXColor GXColor
A 32-bit RGBA color.
Debugging library which includes various utilities used by the rest of nw4r.
Color(u8 red, u8 green, u8 blue, u8 alpha)
Constructs a new color, given the 4 individual components.
Color(u32 color)
Constructs a new color, given the 4 components.
Color()
Constructs an empty color (defaults to white).