NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
m_color.hpp
1
#pragma once
2
#include <lib/rvl/gx/GX.h>
3
6
struct
mColor
:
public
GXColor
{
7
9
mColor
() { rgba = 0xFFFFFFFF; }
10
12
mColor
(u8 red, u8 green, u8 blue, u8 alpha) { r = red; g = green; b = blue; a = alpha; }
13
15
mColor
(u32 color) { rgba = color; }
16
};
_GXColor
A 32-bit RGBA color.
Definition
GX.h:13
mColor
A 32-bit RGBA color.
Definition
m_color.hpp:6
mColor::mColor
mColor(u8 red, u8 green, u8 blue, u8 alpha)
Constructs a new color, given the 4 individual components.
Definition
m_color.hpp:12
mColor::mColor
mColor()
Constructs an empty color (defaults to white).
Definition
m_color.hpp:9
mColor::mColor
mColor(u32 color)
Constructs a new color, given the 4 components.
Definition
m_color.hpp:15
include
game
mLib
m_color.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.12.0