|
VAPOR3 3.9.4
|
Contains references to context scope OpenGL data. More...
#include <GLManager.h>
Public Types | |
| enum class | Vendor { Intel , Nvidia , AMD , Mesa , Other , Unknown } |
Public Member Functions | |
| GLManager () | |
| ~GLManager () | |
| void | PixelCoordinateSystemPush () |
| void | PixelCoordinateSystemPop () |
| void | ShowDepthBuffer () |
Static Public Member Functions | |
| static std::vector< int > | GetViewport () |
| static glm::vec2 | GetViewportSize () |
| static Vendor | GetVendor () |
| static void | GetGLVersion (int *major, int *minor) |
| static int | GetGLSLVersion () |
| static bool | IsCurrentOpenGLVersionSupported () |
| static bool | CheckError () |
| static void * | BeginTimer () |
| static double | EndTimer (void *startTime) |
Public Attributes | |
| ShaderManager * | shaderManager |
| FontManager * | fontManager |
| MatrixManager * | matrixManager |
| LegacyGL * | legacy |
Contains references to context scope OpenGL data.
Definition at line 18 of file GLManager.h.
|
strong |
| Enumerator | |
|---|---|
| Intel | |
| Nvidia | |
| AMD | |
| Mesa | |
| Other | |
| Unknown | |
Definition at line 38 of file GLManager.h.
| VAPoR::GLManager::GLManager | ( | ) |
| VAPoR::GLManager::~GLManager | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| vector<int>[4] | from glGetIntegerv(GL_VIEWPORT) |
|
static |
|
static |
| void VAPoR::GLManager::PixelCoordinateSystemPop | ( | ) |
| void VAPoR::GLManager::PixelCoordinateSystemPush | ( | ) |
Utility function that pushes the current matrix state and sets up a pixel coorinate 2D orthographic projection
| void VAPoR::GLManager::ShowDepthBuffer | ( | ) |
Draws the depth buffer in the top right corner
| FontManager* VAPoR::GLManager::fontManager |
Definition at line 20 of file GLManager.h.
| LegacyGL* VAPoR::GLManager::legacy |
Definition at line 22 of file GLManager.h.
| MatrixManager* VAPoR::GLManager::matrixManager |
Definition at line 21 of file GLManager.h.
| ShaderManager* VAPoR::GLManager::shaderManager |
Definition at line 19 of file GLManager.h.