Red, Green,Blue and Alpha 32 bit floating point values. More...
Public Member Functions | |
operator Vector4D_t & () | |
Convert the color to a Vector4D_t. | |
operator const Vector4D_t & () const | |
Convert the color to a const Vector4D_t. | |
RGBAFloat_t & | operator= (const Vector4D_t &rInput) |
Convert a Vector4D_t into a RGBFloat_t. | |
Public Attributes | |
float | m_fRed |
32 bit float red value | |
float | m_fGreen |
32 bit float green value | |
float | m_fBlue |
32 bit float blue value | |
float | m_fAlpha |
32 bit float alpha value | |
Static Public Attributes | |
static const RGBAFloat_t | Aqua = {0,1.0f,1.0f,1.0f} |
static const RGBAFloat_t | Black = {0,0,0,1.0f} |
static const RGBAFloat_t | Blue = {0,0,1.0f,1.0f} |
static const RGBAFloat_t | Fuchsia = {1.0f,0,1.0f,1.0f} |
static const RGBAFloat_t | Gray = {0.5f,0.5f,0.5f,1.0f} |
static const RGBAFloat_t | Green = {0,0.5f,0,1.0f} |
static const RGBAFloat_t | Lime = {0,1.0f,0,1.0f} |
static const RGBAFloat_t | Maroon = {0.5f,0,0,1.0f} |
static const RGBAFloat_t | Navy = {0,0,0.5f,1.0f} |
static const RGBAFloat_t | Olive = {0.5f,0.5f,0,1.0f} |
static const RGBAFloat_t | Orange = {1.0f,165.0f/255.0f,0,1.0f} |
static const RGBAFloat_t | Purple = {0.5f,0,0.5f,1.0f} |
static const RGBAFloat_t | Red = {1.0f,0,0,1.0f} |
static const RGBAFloat_t | Silver = {0.75f,0.75f,0.75f,1.0f} |
static const RGBAFloat_t | Teal = {0,0.5f,0.5f,1.0f} |
static const RGBAFloat_t | White = {1.0f,1.0f,1.0f,1.0f} |
static const RGBAFloat_t | Yellow = {1.0f,1.0f,0,1.0f} |
Red, Green,Blue and Alpha 32 bit floating point values.
Structure that contains the red, green, blue and alpha (in that order) color components where the value of 0.0f mean absence of color and 1.0f is the maximum color
|
inline |
Convert the color to a const Vector4D_t.
Since the RGBAFloat_t structure is identical to a Vector4D_t, this operator will allow the color to be used with the math operators that use a Vector4D_t as input.
|
inline |
Convert the color to a Vector4D_t.
Since the RGBAFloat_t structure is identical to a Vector4D_t, this operator will allow the color to be used with the math operators that use a Vector4D_t as input or output.
|
inline |
Convert a Vector4D_t into a RGBFloat_t.
Since the RGBAFloat_t structure is identical to a Vector4D_t, this operator will copy a Vector4D_t into this color structure
rInput | Reference to a Vector4D_t to copy into this structure |
|
static |
RGBA 0,1.0f,1.0f,1.0f : |
|
static |
RGBA 0,0,0,1.0f : |
|
static |
RGBA 0,0,1.0f,1.0f : |
|
static |
RGBA 1.0f,0,1.0f,1.0f : |
|
static |
RGBA 0.5f,0.5f,0.5f,1.0f : |
|
static |
RGBA 0,0.5f,0,1.0f : |
|
static |
RGBA 0,1.0f,0,1.0f : |
float Burger::RGBAFloat_t::m_fAlpha |
32 bit float alpha value
float Burger::RGBAFloat_t::m_fBlue |
32 bit float blue value
float Burger::RGBAFloat_t::m_fGreen |
32 bit float green value
float Burger::RGBAFloat_t::m_fRed |
32 bit float red value
|
static |
RGBA 0.5f,0,0,1.0f : |
|
static |
RGBA 0,0,0.5f,1.0f : |
|
static |
RGBA 0.5f,0.5f,0,1.0f : |
|
static |
RGBA 1.0f,165.0f/255.0f,0,1.0f : |
|
static |
RGBA 0.5f,0,0.5f,1.0f : |
|
static |
RGBA 1.0f,0,0,1.0f : |
|
static |
RGBA 0.75f,0.75f,0.75f,1.0f : |
|
static |
RGBA 0,0.5f,0.5f,1.0f : |
|
static |
RGBA 1.0f,1.0f,1.0f,1.0f : |
|
static |
RGBA 1.0f,1.0f,0,1.0f : |