| 
| constexpr  | color (float fRed, float fGreen, float fBlue, float fAlpha=1.f) noexcept | 
|   | color object constructor  More...
  | 
|   | 
| constexpr  | color (int nRed, int nGreen, int nBlue, int nAlpha=255) noexcept | 
|   | color object constructor  More...
  | 
|   | 
| constexpr  | color (u64 nHexValue) noexcept | 
|   | color object constructor  More...
  | 
|   | 
| constexpr  | color (const glm::ivec3 &vec3) noexcept | 
|   | color object constructor  More...
  | 
|   | 
| constexpr  | color (const glm::ivec4 &vec4) noexcept | 
|   | color object constructor  More...
  | 
|   | 
| constexpr float  | r () const noexcept | 
|   | Get red component.  More...
  | 
|   | 
| constexpr float  | g () const noexcept | 
|   | Get green component.  More...
  | 
|   | 
| constexpr float  | b () const noexcept | 
|   | Get blue component.  More...
  | 
|   | 
| constexpr float  | a () const noexcept | 
|   | Get alpha component.  More...
  | 
|   | 
| constexpr float &  | operator[] (size_t i) noexcept | 
|   | Get color component.  More...
  | 
|   | 
| constexpr const float &  | operator[] (size_t i) const noexcept | 
|   | Get color component.  More...
  | 
|   | 
| constexpr int  | r_dec () const noexcept | 
|   | Get red component as decimal.  More...
  | 
|   | 
| constexpr int  | g_dec () const noexcept | 
|   | Get green component as decimal.  More...
  | 
|   | 
| constexpr int  | b_dec () const noexcept | 
|   | Get blue component as decimal.  More...
  | 
|   | 
| constexpr int  | a_dec () const noexcept | 
|   | Get alpha component as decimal.  More...
  | 
|   | 
| constexpr const float *  | data () const noexcept | 
|   | Get pointer to the first component.  More...
  | 
|   | 
| constexpr unsigned int  | hex_rgb () const noexcept | 
|   | Get color as hex.  More...
  | 
|   | 
| constexpr unsigned int  | hex_rgba () const noexcept | 
|   | Get color as hex.  More...
  | 
|   | 
| constexpr unsigned int  | hex_argb () const noexcept | 
|   | Get color as hex.  More...
  | 
|   | 
| constexpr void  | update_r (float fDeltaValue) noexcept | 
|   | Add value to red component.  More...
  | 
|   | 
| constexpr void  | update_g (float fDeltaValue) noexcept | 
|   | Add value to green component.  More...
  | 
|   | 
| constexpr void  | update_b (float fDeltaValue) noexcept | 
|   | Add value to blue component.  More...
  | 
|   | 
| constexpr void  | update_a (float fDeltaValue) noexcept | 
|   | Add value to alpha component.  More...
  | 
|   | 
| constexpr void  | update_r_dec (int nDeltaValue) noexcept | 
|   | Add value to red component.  More...
  | 
|   | 
| constexpr void  | update_g_dec (int nDeltaValue) noexcept | 
|   | Add value to green component.  More...
  | 
|   | 
| constexpr void  | update_b_dec (int nDeltaValue) noexcept | 
|   | Add value to blue component.  More...
  | 
|   | 
| constexpr void  | update_a_dec (int nDeltaValue) noexcept | 
|   | Add value to alpha component.  More...
  | 
|   | 
| constexpr void  | set_r (float fValue) noexcept | 
|   | Set new value of red component.  More...
  | 
|   | 
| constexpr void  | set_g (float fValue) noexcept | 
|   | Set new value of green component.  More...
  | 
|   | 
| constexpr void  | set_b (float fValue) noexcept | 
|   | Set new value of blue component.  More...
  | 
|   | 
| constexpr void  | set_a (float fValue) noexcept | 
|   | Set new value of alpha component.  More...
  | 
|   | 
| constexpr void  | set_r_dec (int nValue) noexcept | 
|   | Set new value of red component.  More...
  | 
|   | 
| constexpr void  | set_g_dec (int nValue) noexcept | 
|   | Set new value of green component.  More...
  | 
|   | 
| constexpr void  | set_b_dec (int nValue) noexcept | 
|   | Set new value of blue component.  More...
  | 
|   | 
| constexpr void  | set_a_dec (int nValue) noexcept | 
|   | Set new value of alpha component.  More...
  | 
|   | 
| constexpr void  | darken (float fPercent) noexcept | 
|   | Make color darker.  More...
  | 
|   | 
| constexpr void  | brighten (float fPercent) noexcept | 
|   | Make color brighter.  More...
  | 
|   | 
| 
  | _QX_COLORS (_QX_COLOR_METHOD) | 
|   | Color functions. 
  | 
|   | 
RGBA color. 
- Author
 - Khrapov 
 
- Date
 - 10.04.2021 
 
Definition at line 192 of file color.h.