26 lines
259 B
C
26 lines
259 B
C
|
#ifndef COLOR_H
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
|
||
|
struct ColorU32
|
||
|
{
|
||
|
union
|
||
|
{
|
||
|
struct
|
||
|
{
|
||
|
uint8_t b;
|
||
|
uint8_t g;
|
||
|
uint8_t r;
|
||
|
uint8_t a;
|
||
|
};
|
||
|
|
||
|
uint32_t u32;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
|
||
|
#define COLOR_H
|
||
|
#endif
|
||
|
|