|
Public Member Functions |
| | TMCColorRGB (void) |
| | TMCColorRGB (const real rr, const real gg, const real bb) |
| | TMCColorRGB (const TMCRGBColor &inColor) |
| void | Set (const real rr, const real gg, const real bb) |
| boolean | IsEqual (const TMCColorRGB &rhs, const real epsilon=0.0) const |
| real | GetMagnitude (void) const |
| real | GetMagnitudeSquared (void) const |
| real | GetMinOfRGB (void) const |
| real | GetMaxOfRGB (void) const |
| boolean | IsClamped (void) const |
| void | Clamp (void) |
| void | Interpolate (const TMCColorRGB &from, const TMCColorRGB &to, const real interpolant) |
| void | Interpolate (const TVector2 &interpolants, const TMCColorRGB &lowerLeft, const TMCColorRGB &lowerRight, const TMCColorRGB &upperLeft, const TMCColorRGB &upperRight) |
| void | AccumRGB (const TMCColorRGB &rhs, const real scalar) |
| boolean | operator== (const TMCColorRGB &rhs) const |
| boolean | operator!= (const TMCColorRGB &rhs) const |
| boolean | operator< (const real t) |
| boolean | operator> (const real t) |
| TMCColorRGB & | operator+= (const TMCColorRGB &rhs) |
| TMCColorRGB & | operator-= (const TMCColorRGB &rhs) |
| TMCColorRGB & | operator *= (const real s) |
| TMCColorRGB & | operator/= (const real s) |
| TMCColorRGB | operator+ (const TMCColorRGB &rhs) const |
| TMCColorRGB | operator- (const TMCColorRGB &rhs) const |
| TMCColorRGB | operator * (const real s) const |
| TMCColorRGB | operator/ (const real s) const |
| real | operator * (const TMCColorRGB &rhs) const |
| TMCColorRGB | operator% (const TMCColorRGB &rhs) const |
| TMCColorRGBA8 & | ToRGBA8 (TMCColorRGBA8 &c, const uint8 alphaValue) const |
| TMCColorRGBA8 & | ToRGBA8Unclamped (TMCColorRGBA8 &c, const uint8 alphaValue) const |
| TMCColorRGBA & | ToRGBA (TMCColorRGBA &c, const float alphaValue) const |
| void | FromTMCRGBColor (const TMCRGBColor &inColor) |
| void | ToTMCRGBColor (TMCRGBColor &outColor) const |
| TMCColorRGB & | operator= (class TMCColorRGBA &c) |
| const real * | GetAddrFirstComponent (void) const |
| real | Intensity () const |
| void | GetHLS (real32 &H, real32 &L, real32 &S) const |
| void | SetHLS (const real32 h, const real32 l, const real32 s) |
Static Public Attributes |
| const real | kMaxIntensity |
| | equals 1.0f
|
| const real | kInvMaxIntensity |
| | equals 1.0f/kMaxIntensity;
|
| const TMCColorRGB | kBlack |
| | (0,0,0);
|
| const TMCColorRGB | kWhite |
| | (kMaxIntensity,kMaxIntensity,kMaxIntensity);
|