Arctic Engine
Designed to give you control and not take anything away.
arctic::Rgb Struct Reference

Public Member Functions

 Rgb (Ui32 rgb_in)
 
 Rgb (Ui8 r_in, Ui8 g_in, Ui8 b_in)
 
 Rgb (Ui8 s)
 
const bool operator!= (const Rgb &v) const
 
Rgboperator= (const Rgb &v)
 
const bool operator== (const Rgb &v) const
 
Ui8 & operator[] (Si32 i)
 
const Ui8 & operator[] (Si32 i) const
 

Public Attributes

union {
   struct {
      Ui8   b
 
      Ui8   g
 
      Ui8   r
 
   } 
 
   Ui8   element [3]
 
}; 
 

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