#include <cl.h>
Data Fields | |
GLfloat | r |
GLfloat | g |
GLfloat | b |
GLfloat | a |
CLcolour
struct defines a colour in the RGBA colourspace. It can be passed to the OpenGL glColour()
function by casting to a GLfloat*
.
CLcolour colour = {1.0f, 0.0f, 0.0f, 1.0f}; glColor4fv((GLfloat*)&colour);
For more information consult the OpenGL documentation for glColour()
.
Definition at line 227 of file cl.h.