|
Public Member Functions |
| UByte4 (GLubyte x=0, GLubyte y=0, GLubyte z=0, GLubyte w=255) |
| UByte4 (const GLubyte *c) |
| UByte4 (QRgb c) |
| operator const GLubyte * () const |
| operator GLubyte * () |
QRgb | toQRgb () const |
QString | toQString () const |
UByte4 | operator+= (const UByte4 &a) |
UByte4 | operator-= (const UByte4 &a) |
UByte4 | operator *= (const UByte4 &a) |
UByte4 | operator/= (const UByte4 &a) |
UByte4 | operator *= (float s) |
UByte4 | operator/= (float s) |
void | reset (float r=0, float g=0, float b=0, float a=0) |
void | setAlpha (float a) |
void | setGL () const |
UInt4 | toUInt4 () const |
Static Public Attributes |
static const int | SIZE = 4 |
static const GLint | TEX_FORMAT = 4 |
static const GLenum | DATA_FORMAT = GL_RGBA |
static const GLenum | DATA_TYPE = GL_UNSIGNED_BYTE |
Friends |
UByte4 | operator+ (const UByte4 &a, const UByte4 &b) |
UByte4 | operator- (const UByte4 &a, const UByte4 &b) |
UByte4 | operator * (const UByte4 &a, const UByte4 &b) |
UByte4 | operator/ (const UByte4 &a, const UByte4 &b) |
UByte4 | operator * (float s, const UByte4 &a) |
UByte4 | operator * (const UByte4 &a, float s) |
UByte4 | operator/ (float s, const UByte4 &a) |
UByte4 | operator/ (const UByte4 &a, float s) |