NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/mLib/m_color.hpp>
A 32-bit RGBA color.
Definition at line 6 of file m_color.hpp.
Public Member Functions | |
mColor () | |
Constructs an empty color (defaults to white). | |
mColor (u8 red, u8 green, u8 blue, u8 alpha) | |
Constructs a new color, given the 4 individual components. | |
mColor (u32 color) | |
Constructs a new color, given the 4 components. | |
Additional Inherited Members | ||
Public Attributes inherited from _GXColor | ||
union { | ||
struct { | ||
u8 r | ||
u8 g | ||
u8 b | ||
u8 a | ||
} | ||
u32 rgba | ||
}; | ||
|
inline |
Constructs an empty color (defaults to white).
Definition at line 9 of file m_color.hpp.
|
inline |
Constructs a new color, given the 4 individual components.
Definition at line 12 of file m_color.hpp.
|
inline |
Constructs a new color, given the 4 components.
Definition at line 15 of file m_color.hpp.