|
union { | |
|
struct { | |
|
u16 r: 5 | |
|
u16 g: 5 | |
|
u16 b: 5 | |
|
u16 x: 1 | |
|
} clr | |
|
u16 raw_val | |
|
}; | | |
|
|
static constexpr u32 | RedShift = 0 |
|
static constexpr u32 | RedBits = 5 |
|
static constexpr u32 | GreenShift = 5 |
|
static constexpr u32 | GreenBits = 5 |
|
static constexpr u32 | BlueShift = 10 |
|
static constexpr u32 | BlueBits = 5 |
|
static constexpr u32 | AlphaShift = 0 |
|
static constexpr u32 | AlphaBits = 0 |
|
The documentation for this struct was generated from the following file: