Go to the source code of this file.
Macros | |
| #define | ColorGetA(color) (((color) >> 24) & 0xFF) |
| #define | ColorGetR(color) (((color) >> 16) & 0xFF) |
| #define | ColorGetG(color) (((color) >> 8) & 0xFF) |
| #define | ColorGetB(color) (((color) >> 0) & 0xFF) |
| #define ColorGetA | ( | color | ) | (((color) >> 24) & 0xFF) |
Returns alpha byte from color value.
Definition at line 10 of file color_utils.h.
| #define ColorGetB | ( | color | ) | (((color) >> 0) & 0xFF) |
Returns blue component of color, from zero to 255.
Definition at line 22 of file color_utils.h.
| #define ColorGetG | ( | color | ) | (((color) >> 8) & 0xFF) |
Returns green component of color, from zero to 255.
Definition at line 18 of file color_utils.h.
| #define ColorGetR | ( | color | ) | (((color) >> 16) & 0xFF) |
Returns red component of color, from zero to 255.
Definition at line 14 of file color_utils.h.