My Project
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ParaEngine::Color4F Struct Reference

RGBA color composed of 4 floats. More...

#include <GLType.h>

Public Member Functions

 Color4F ()
 Color4F.
 
 Color4F (float _r, float _g, float _b, float _a)
 
 Color4F (const Color3B &color)
 
 Color4F (const Color4B &color)
 
bool operator== (const Color4F &right) const
 
bool operator== (const Color3B &right) const
 
bool operator== (const Color4B &right) const
 
bool operator!= (const Color4F &right) const
 
bool operator!= (const Color3B &right) const
 
bool operator!= (const Color4B &right) const
 
bool equals (const Color4F &other)
 

Public Attributes

GLfloat r
 
GLfloat g
 
GLfloat b
 
GLfloat a
 

Static Public Attributes

static const Color4F WHITE
 
static const Color4F YELLOW
 
static const Color4F BLUE
 
static const Color4F GREEN
 
static const Color4F RED
 
static const Color4F MAGENTA
 
static const Color4F BLACK
 
static const Color4F ORANGE
 
static const Color4F GRAY
 

Detailed Description

RGBA color composed of 4 floats.

Since
v3.0

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