Public Member Functions | Data Fields | Friends
AtRGBA Struct Reference

RGB color + alpha. More...

#include <ai_color.h>

Public Member Functions

AtRGBrgb ()
 
const AtRGBrgb () const
 
AtRGBA operator+ (const AtRGBA &rgba) const
 
AtRGBAoperator+= (const AtRGBA &rgba)
 
AtRGBA operator+ (float f) const
 
AtRGBAoperator+= (float f)
 
AtRGBA operator- (const AtRGBA &rgba) const
 
AtRGBAoperator-= (const AtRGBA &rgba)
 
AtRGBA operator- (float f) const
 
AtRGBAoperator-= (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
 
AtRGBAoperator= (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)
 

Detailed Description

RGB color + alpha.


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

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