#include <rgb8.h>
Definition at line 33 of file rgb8.h.
Public Member Functions | |
Rgb8 () | |
Rgb8 (unsigned char r, unsigned char g, unsigned char b, unsigned char a=0) | |
Public Attributes | |
unsigned char | red |
unsigned char | green |
unsigned char | blue |
unsigned char | dummy |
CVD::Rgb8::Rgb8 | ( | ) | [inline] |
CVD::Rgb8::Rgb8 | ( | unsigned char | r, | |
unsigned char | g, | |||
unsigned char | b, | |||
unsigned char | a = 0 | |||
) | [inline] |
unsigned char CVD::Rgb8::red |
The red component.
Definition at line 35 of file rgb8.h.
Referenced by CVD::glColor3(), and CVD::glColor4().
unsigned char CVD::Rgb8::green |
The green component.
Definition at line 36 of file rgb8.h.
Referenced by CVD::glColor3(), and CVD::glColor4().
unsigned char CVD::Rgb8::blue |
The blue component.
Definition at line 37 of file rgb8.h.
Referenced by CVD::glColor3(), and CVD::glColor4().
unsigned char CVD::Rgb8::dummy |
The 4th byte, usually either ignored or used to represent the alpha value.
Definition at line 38 of file rgb8.h.
Referenced by CVD::glColor4().