Arty
Public Member Functions | List of all members
rgba Struct Reference
Inheritance diagram for rgba:
float4

Public Member Functions

 rgba (const float4 &rgba)
 
 rgba (float r, float g, float b, float a)
 
 rgba (float x)
 
 rgba (const rgb &rgb, float a)
 
rgbaoperator+= (const rgba &p)
 
rgbaoperator+= (const Atom< rgba > &atom)
 
- Public Member Functions inherited from float4
 float4 (float x)
 
 float4 (float x, float y, float z, float w)
 
 float4 (const float3 &xyz, float w)
 
 float4 (float x, const float3 &yzw)
 
 float4 (const float2 &xy, float z, float w)
 
 float4 (float x, const float2 &yz, float w)
 
 float4 (float x, float y, const float2 &zw)
 
 float4 (const float2 &xy, const float2 &zw)
 
bool operator== (const float4 &other) const
 
bool operator!= (const float4 &other) const
 
float operator[] (size_t i) const
 
float & operator[] (size_t i)
 
float4operator+= (const float4 &a)
 
float4operator-= (const float4 &a)
 
float4operator*= (float a)
 
float4operator*= (const float4 &a)
 

Additional Inherited Members

- Public Attributes inherited from float4
union {
   struct {
      float   x
 
      float   y
 
      float   z
 
      float   w
 
   } 
 
   float   values [4]
 
}; 
 

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