RGB color + alpha. More...
#include <ai_color.h>
Public Member Functions | |
AtRGB & | rgb () |
const AtRGB & | rgb () const |
AtRGBA | operator+ (const AtRGBA &rgba) const |
AtRGBA & | operator+= (const AtRGBA &rgba) |
AtRGBA | operator+ (float f) const |
AtRGBA & | operator+= (float f) |
AtRGBA | operator- (const AtRGBA &rgba) const |
AtRGBA & | operator-= (const AtRGBA &rgba) |
AtRGBA | operator- (float f) const |
AtRGBA & | operator-= (float f) |
AtRGBA | operator- () const |
AtRGBA | operator* (const AtRGBA &rgba) const |
AtRGBA | operator*= (const AtRGBA &rgba) |
AtRGBA | operator* (float f) const |
AtRGBA | operator*= (float f) |
AtRGBA | operator/ (const AtRGBA &rgba) const |
AtRGBA | operator/= (const AtRGBA &rgba) |
AtRGBA | operator/ (float f) const |
AtRGBA | operator/= (float f) |
bool | operator== (const AtRGBA &rgba) const |
bool | operator!= (const AtRGBA &rgba) const |
AtRGBA & | operator= (float f) |
float & | operator[] (unsigned int i) |
const float & | operator[] (unsigned int i) const |
Data Fields | |
float | r |
float | g |
float | b |
float | a |
Friends | |
AtRGBA | operator* (float f, const AtRGBA &rgba) |
AtRGBA | operator+ (float f, const AtRGBA &rgba) |
AtRGBA | operator- (float f, const AtRGBA &rgba) |
RGB color + alpha.