|  | GL Studio C++ Runtime API
    | 
#include <gls_state_manager.h>
| Static Public Member Functions | |
| static IGlsStateManager * | Instance (void) | 
| static GLenum | CheckError () | 
The GlsStateManager singleton class that holds an instance of a state manager that manages the GL Studio runtime library's use of the OpenGL context, minimizing unnecessary state changes.
| 
 | static | 
returns the value of glGetError(), and prints the value if not equal to GL_NO_ERROR
| 
 | static | 
The singleton accessor method for an implementation of an IGlsStateManager, which manages the GL Studio runtime library's use of the OpenGL context, minimizing unnecessary state changes