|
Public Member Functions |
| UByte3 (GLubyte x=0, GLubyte y=0, GLubyte z=0) |
| UByte3 (const GLubyte *c) |
| UByte3 (QRgb c) |
| operator const GLubyte * () const |
| operator GLubyte * () |
QRgb | toQRgb () const |
QString | toQString () const |
UByte3 | operator+= (const UByte3 &a) |
UByte3 | operator-= (const UByte3 &a) |
UByte3 | operator *= (const UByte3 &a) |
UByte3 | operator/= (const UByte3 &a) |
UByte3 | operator *= (float s) |
UByte3 | operator/= (float s) |
void | reset (float r=0, float g=0, float b=0, float a=0) |
void | setGL () const |
UInt3 | toUInt3 () const |
Static Public Attributes |
static const int | SIZE = 3 |
static const GLint | TEX_FORMAT = 3 |
static const GLenum | DATA_FORMAT = GL_RGB |
static const GLenum | DATA_TYPE = GL_UNSIGNED_BYTE |
Friends |
UByte3 | operator+ (const UByte3 &a, const UByte3 &b) |
UByte3 | operator- (const UByte3 &a, const UByte3 &b) |
UByte3 | operator * (const UByte3 &a, const UByte3 &b) |
UByte3 | operator/ (const UByte3 &a, const UByte3 &b) |
UByte3 | operator * (float s, const UByte3 &a) |
UByte3 | operator * (const UByte3 &a, float s) |
UByte3 | operator/ (float s, const UByte3 &a) |
UByte3 | operator/ (const UByte3 &a, float s) |