|
union { | |
|
struct { | |
|
u8 r | |
|
u8 g | |
|
u8 b | |
|
u8 a | |
|
} clr | |
|
u32 raw_val | |
|
}; | | |
|
|
static constexpr u32 | RedShift = 0 |
|
static constexpr u32 | RedBits = 8 |
|
static constexpr u32 | GreenShift = 8 |
|
static constexpr u32 | GreenBits = 8 |
|
static constexpr u32 | BlueShift = 16 |
|
static constexpr u32 | BlueBits = 8 |
|
static constexpr u32 | AlphaShift = 24 |
|
static constexpr u32 | AlphaBits = 8 |
|
The documentation for this struct was generated from the following file: