OpenGL configuration, may be set by user before calling Viewer::init().
More...
#include "Viewer.h"
OpenGL configuration, may be set by user before calling Viewer::init().
Default parameters:
- OpenGL 3.2
- forward-compatible context
- core profile
- bright gray background color
Definition at line 61 of file Viewer.h.
◆ OGLConfig() [1/2]
scg::OGLConfig::OGLConfig |
( |
| ) |
|
|
inline |
◆ OGLConfig() [2/2]
scg::OGLConfig::OGLConfig |
( |
int |
versionMajor0, |
|
|
int |
versionMinor0, |
|
|
GLboolean |
forwardCompatible0, |
|
|
OGLProfile |
profile0, |
|
|
glm::vec4 |
clearColor0 |
|
) |
| |
|
inline |
◆ clearColor
glm::vec4 scg::OGLConfig::clearColor |
◆ forwardCompatible
GLboolean scg::OGLConfig::forwardCompatible |
◆ profile
◆ versionMajor
int scg::OGLConfig::versionMajor |
◆ versionMinor
int scg::OGLConfig::versionMinor |
The documentation for this struct was generated from the following file: