GLContext Class Reference
Class for managing GL contexts. More...
#include <GLContext.hh>
Public Member Functions | |
| GLContext () | |
| Constructor. | |
| virtual | ~GLContext () |
| Destructor. | |
| int | Init (int width, int height, int color, int alpha, int depth, const char *method, GLXContext shareList=NULL) |
| Initialize the context, based on the requested properties. | |
| void | Fini () |
| Finialize the context. | |
| GLXContext | GetContext () |
| Get the rendering context. | |
| int | GetContextIndex () |
| Get the display list index. | |
| int | MakeCurrent () |
| Make this the current rendering context. | |
Detailed Description
Class for managing GL contexts.Used by OpenGL-based camera sensors to create GL contexts and display lists.
Constructor & Destructor Documentation
|
|
Constructor.
|
|
|
Destructor.
|
Member Function Documentation
|
||||||||||||||||||||||||||||||||
|
Initialize the context, based on the requested properties.
|
|
|
Finialize the context.
|
|
|
Get the rendering context.
|
|
|
Get the display list index.
|
|
|
Make this the current rendering context.
|
The documentation for this class was generated from the following files:
