#include <WMath.hpp>
|
| WColor (uint32_t hex) |
|
| WColor (int hex) |
|
| WColor (float fRGB) |
|
| WColor (float fR, float fG, float fB) |
|
| WColor (float fR, float fG, float fB, float fA) |
|
| operator float * () |
|
| operator const float * () |
|
const WColor | operator+ () const |
|
const WColor | operator- () const |
|
const WColor | operator+ (const WColor col) const |
|
const WColor | operator- (const WColor col) const |
|
const WColor | operator* (const WColor col) const |
|
const WColor | operator* (const float f) const |
|
const WColor | operator/ (const WColor col) const |
|
const WColor | operator/ (const float f) const |
|
void | operator+= (const WColor col) |
|
void | operator-= (const WColor col) |
|
void | operator*= (const WColor col) |
|
void | operator*= (const float f) |
|
void | operator/= (const WColor col) |
|
void | operator/= (const float f) |
|
float & | operator[] (const uint32_t index) |
|
float | operator[] (const uint32_t index) const |
|
float & | operator[] (const int index) |
|
float | operator[] (const int index) const |
|
float & | operator() (const uint32_t index) |
|
float | operator() (const uint32_t index) const |
|
float & | operator() (const int index) |
|
float | operator() (const int index) const |
|
bool | operator== (const WColor col) const |
|
bool | operator!= (const WColor col) const |
|
|
union { |
struct { |
float r |
|
float g |
|
float b |
|
float a |
|
} | |
|
float components [4] |
|
}; | |
|
|
const friend WColor | operator* (const float f, const WColor v) |
|
const friend WColor | operator/ (const float f, const WColor v) |
|
alpha component of the color
blue component of the color
green component of the color
red component of the color
The documentation for this class was generated from the following file: