![]() |
COGS
Computer Graphics Structures library
|
Holds three color channels in uint8 format in range 0-255. More...
Public Member Functions | |
| Color3b (uint8_t red, uint8_t green, uint8_t blue) | |
| Color3b (const Color4b &col) | |
| Color3b (const Color3f &col) | |
| Color3b (const Color4f &col) | |
| Color3b (const Color3hex &col) | |
| Color3b (const Color4hex &col) | |
| Color3b | operator+ (const Color3b &col) const |
| Color3b & | operator+= (const Color3b &col) |
| uint8_t * | GetPtr () |
| const uint8_t * | GetPtr () const |
| Color3b | Mix (const Color3b &col, float weight) const |
Data Fields | |
| uint8_t | r = 0 |
| uint8_t | g = 0 |
| uint8_t | b = 0 |
Holds three color channels in uint8 format in range 0-255.