#include <hsColor.h>
Public Attributes |
union { |
struct { |
unsigned char b |
unsigned char g |
unsigned char r |
unsigned char a |
} | |
unsigned int color |
}; | |
Constructor & Destructor Documentation
hsColor32::hsColor32 |
( |
unsigned int |
color32 = 0xFF000000 | ) |
|
hsColor32::hsColor32 |
( |
unsigned char |
red, |
|
|
unsigned char |
green, |
|
|
unsigned char |
blue, |
|
|
unsigned char |
alpha = 255 |
|
) |
| |
Member Function Documentation
bool hsColor32::operator!= |
( |
const hsColor32 & |
other | ) |
const |
bool hsColor32::operator== |
( |
const hsColor32 & |
other | ) |
const |
void hsColor32::prcParse |
( |
const pfPrcTag * |
tag | ) |
|
void hsColor32::readRGB8 |
( |
hsStream * |
S | ) |
|
void hsColor32::readRGBA8 |
( |
hsStream * |
S | ) |
|
void hsColor32::writeRGB8 |
( |
hsStream * |
S | ) |
|
void hsColor32::writeRGBA8 |
( |
hsStream * |
S | ) |
|
Member Data Documentation
unsigned char hsColor32::a |
unsigned char hsColor32::b |
unsigned int hsColor32::color |
unsigned char hsColor32::g |
unsigned char hsColor32::r |
The documentation for this struct was generated from the following file: