Color data structure (red, green, blue, alpha=opacity)
More...
#include <sdltk.h>
|
| ColorRGBA (unsigned char r=0, unsigned char g=0, unsigned char b=0, unsigned char a=0) |
|
|
unsigned char | R |
| Red component (0..255)
|
|
unsigned char | G |
| Green component (0..255)
|
|
unsigned char | B |
| Blue component (0..255)
|
|
unsigned char | A |
| Alpha (opacity) component (0..255)
|
|
Color data structure (red, green, blue, alpha=opacity)
sdltk::ColorRGBA::ColorRGBA |
( |
unsigned char |
r = 0 , |
|
|
unsigned char |
g = 0 , |
|
|
unsigned char |
b = 0 , |
|
|
unsigned char |
a = 0 |
|
) |
| |
|
inline |
Constructor (all parameters are optional, default value is 0,0,0,0)
- Parameters
-
r | Red component (0..255) |
g | Green component (0..255) |
b | Blue component (0..255) |
a | Alpha (opacity) component (0..255) |
The documentation for this struct was generated from the following file:
- E:/DEV/PUBLISH/Games/ArkanoidRemake/sdltk/src/include/sdltk.h