|
CSCI441 OpenGL Library 5.23.1.1
CS@Mines CSCI441 Computer Graphics Course Library
|
Helper functions to work with OpenGL 3.0+. More...
#include "constants.h"#include <glad/gl.h>#include <glm/glm.hpp>#include <cstdio>#include <cstdlib>Go to the source code of this file.
Namespaces | |
| namespace | CSCI441 |
| CSCI441 Helper Functions for OpenGL. | |
| namespace | OpenGLUtils |
| contains OpenGL Utility functions | |
Functions | |
| void | CSCI441::OpenGLUtils::printOpenGLInfo () |
| Prints information about our OpenGL context. | |
| void | CSCI441::OpenGLUtils::printOpenGLExtensions () |
| Prints the list of available extensions. | |
| void | CSCI441::OpenGLUtils::checkOpenGLErrors () |
| Checks if there are any OpenGL errors, printing them if so, and clearing the error flag. | |
| const char * | CSCI441::OpenGLUtils::openGLErrorMessage (GLenum err) |
| Converts error value to string representation. | |
| const char * | CSCI441::OpenGLUtils::debugSourceToString (GLenum source) |
| Converts debug source value to string representation. | |
| const char * | CSCI441::OpenGLUtils::debugTypeToString (GLenum type) |
| Converts debug type value to string representation. | |
| const char * | CSCI441::OpenGLUtils::debugSeverityToString (GLenum severity) |
| Converts debug severity value to string representation. | |
Helper functions to work with OpenGL 3.0+.
These functions, classes, and constants help minimize common code that needs to be written.
|
inline |
Converts debug severity value to string representation.
| severity | debug severity |
|
inline |
Converts debug source value to string representation.
| source | debug source |
|
inline |
Converts debug type value to string representation.
| type | debug type |
|
inline |
Converts error value to string representation.
| err | OpenGL error code |