Public Member Functions | Data Fields | Friends
AtRGB Struct Reference

RGB color. More...

#include <ai_color.h>

Public Member Functions

AtRGB operator+ (const AtRGB &rgb) const
 
AtRGBoperator+= (const AtRGB &rgb)
 
AtRGB operator+ (float f) const
 
AtRGBoperator+= (float f)
 
AtRGB operator- (const AtRGB &rgb) const
 
AtRGBoperator-= (const AtRGB &rgb)
 
AtRGB operator- (float f) const
 
AtRGBoperator-= (float f)
 
AtRGB operator- () const
 
AtRGB operator* (const AtRGB &rgb) const
 
AtRGB operator*= (const AtRGB &rgb)
 
AtRGB operator* (float f) const
 
AtRGB operator*= (float f)
 
AtRGB operator/ (const AtRGB &rgb) const
 
AtRGB operator/= (const AtRGB &rgb)
 
AtRGB operator/ (float f) const
 
AtRGB operator/= (float f)
 
bool operator== (const AtRGB &rgb) const
 
bool operator!= (const AtRGB &rgb) const
 
AtRGBoperator= (float f)
 
float & operator[] (unsigned int i)
 
const float & operator[] (unsigned int i) const
 

Data Fields

float r
 
float g
 
float b
 

Friends

AtRGB operator* (float f, const AtRGB &rgb)
 
AtRGB operator+ (float f, const AtRGB &rgb)
 
AtRGB operator- (float f, const AtRGB &rgb)
 

Detailed Description

RGB color.


The documentation for this struct was generated from the following file:

© 2009-2013 Solid Angle SL · all rights reserved · www.solidangle.com