ubit
Public Member Functions | Public Attributes | List of all members
ubit::URgba Class Reference

Specifies a RGBA value for defining UColor(s). More...

#include <ucolor.hpp>

Public Member Functions

 URgba (unsigned int r, unsigned int g, unsigned int b, unsigned int a=255u)
 
 URgba (float r, float g, float b, float a=1.0f)
 
void setRgbaI (unsigned int r, unsigned int g, unsigned int b, unsigned int a=255u)
 
void setRgbaF (float r, float g, float b, float a=1.0f)
 
bool operator== (const URgba &c) const
 
unsigned int getRedI () const
 
unsigned int getGreenI () const
 
unsigned int getBlueI () const
 
unsigned int getAlphaI () const
 
void setRedI (unsigned int c)
 
void setGreenI (unsigned int c)
 
void setBlueI (unsigned int c)
 
void setAlphaI (unsigned int c)
 

Public Attributes

unsigned char comps [4]
 

Detailed Description

Specifies a RGBA value for defining UColor(s).


The documentation for this class was generated from the following files: