OpenLayer Offline Manual

OpenLayer | Rgba | Select Select Advanced function
inline void Select();
Selects the color as the active OpenGL color. If you only use OpenLayer's functions you won't need to call this function. Even if you change the OpenGL's active color by calling this function or by calling glColor it won't affect OpenLayer's functions. Examples // Select black to be the active OpenGL color // Rgba black( 0.0, 0.0, 0.0 ); black.Select(); // Same thing by using a color constant // Rgba::BLACK.Select(); // Also the following is possible: // Rgba( 0.0, 0.0, 0.0 ).Select(); Other functions of the class Rgba
MixWith | Mixes two colors together with the given factor
WithAlpha | Creates a new color with the same color components but a different alpha value
Advanced functions
Packed | Returns the color packed in an integer
Select | Selects the color as the active OpenGL color
Back to the main page of the manual Questions about Select? Click here.