Helper class for X11 OpenGL Extension (GLX). More...
#include <mi32/miglx.h>
Classes | |
| class | CONTEXT |
Public Types | |
| enum | BUFFER { BUFFER_Front = 0x01, BUFFER_Back = 0x02, BUFFER_Left = 0x10, BUFFER_Right = 0x20, BUFFER_FrontLeft = 0x11, BUFFER_FrontRight = 0x21, BUFFER_BackLeft = 0x12, BUFFER_BackRight = 0x22, BUFFER_All = 0x00 } |
| enum | MODE { MODE_Any = 0x00, MODE_DoubleBuffer = 0x01, MODE_Stereo = 0x02 } |
Static Public Member Functions | |
| static ERRVALUE | CheckError () |
| static bool | HasMode (MODE mode) |
| static bool | IsEnabled () |
Helper class for X11 OpenGL Extension (GLX).
| enum MIGLX::BUFFER |
Buffer(s) to select for drawing.
| enum MIGLX::MODE |
| static ERRVALUE MIGLX::CheckError | ( | ) | [static] |
Check for OpenGL error.
Will build message string with all available errors.
| static bool MIGLX::HasMode | ( | MODE | mode | ) | [static] |
Determine if specific mode is available.
Will return false if GLX extension is not enabled.
| mode | Combination of desired MODE values |
| static bool MIGLX::IsEnabled | ( | ) | [static] |
Determine if GLX extension is enabled.
1.6.1