QGLFormat Class Reference
#include <qgl.h>
Definition at line 175 of file qgl.h.
|
| enum | OpenGLContextProfile { NoProfile,
CoreProfile,
CompatibilityProfile
} |
| |
| enum | OpenGLVersionFlag {
OpenGL_Version_None = 0x00000000,
OpenGL_Version_1_1 = 0x00000001,
OpenGL_Version_1_2 = 0x00000002,
OpenGL_Version_1_3 = 0x00000004,
OpenGL_Version_1_4 = 0x00000008,
OpenGL_Version_1_5 = 0x00000010,
OpenGL_Version_2_0 = 0x00000020,
OpenGL_Version_2_1 = 0x00000040,
OpenGL_ES_Common_Version_1_0 = 0x00000080,
OpenGL_ES_CommonLite_Version_1_0 = 0x00000100,
OpenGL_ES_Common_Version_1_1 = 0x00000200,
OpenGL_ES_CommonLite_Version_1_1 = 0x00000400,
OpenGL_ES_Version_2_0 = 0x00000800,
OpenGL_Version_3_0 = 0x00001000,
OpenGL_Version_3_1 = 0x00002000,
OpenGL_Version_3_2 = 0x00004000,
OpenGL_Version_3_3 = 0x00008000,
OpenGL_Version_4_0 = 0x00010000
} |
| |
| Enumerator |
|---|
| NoProfile |
|
| CoreProfile |
|
| CompatibilityProfile |
|
Definition at line 252 of file qgl.h.
| Enumerator |
|---|
| OpenGL_Version_None |
|
| OpenGL_Version_1_1 |
|
| OpenGL_Version_1_2 |
|
| OpenGL_Version_1_3 |
|
| OpenGL_Version_1_4 |
|
| OpenGL_Version_1_5 |
|
| OpenGL_Version_2_0 |
|
| OpenGL_Version_2_1 |
|
| OpenGL_ES_Common_Version_1_0 |
|
| OpenGL_ES_CommonLite_Version_1_0 |
|
| OpenGL_ES_Common_Version_1_1 |
|
| OpenGL_ES_CommonLite_Version_1_1 |
|
| OpenGL_ES_Version_2_0 |
|
| OpenGL_Version_3_0 |
|
| OpenGL_Version_3_1 |
|
| OpenGL_Version_3_2 |
|
| OpenGL_Version_3_3 |
|
| OpenGL_Version_4_0 |
|
Definition at line 261 of file qgl.h.
| void setDepthBufferSize |
( |
int |
size | ) |
|
| int depthBufferSize |
( |
| ) |
const |
| void setAccumBufferSize |
( |
int |
size | ) |
|
| int accumBufferSize |
( |
| ) |
const |
| int redBufferSize |
( |
| ) |
const |
| void setGreenBufferSize |
( |
int |
size | ) |
|
| int greenBufferSize |
( |
| ) |
const |
| int blueBufferSize |
( |
| ) |
const |
| void setAlphaBufferSize |
( |
int |
size | ) |
|
| int alphaBufferSize |
( |
| ) |
const |
| void setStencilBufferSize |
( |
int |
size | ) |
|
| int stencilBufferSize |
( |
| ) |
const |
| void setSampleBuffers |
( |
bool |
enable | ) |
|
| bool sampleBuffers |
( |
| ) |
const |
|
inline |
| void setSwapInterval |
( |
int |
interval | ) |
|
| int swapInterval |
( |
| ) |
const |
| bool doubleBuffer |
( |
| ) |
const |
|
inline |
| void setDoubleBuffer |
( |
bool |
enable | ) |
|
| void setDepth |
( |
bool |
enable | ) |
|
| void setRgba |
( |
bool |
enable | ) |
|
| void setAlpha |
( |
bool |
enable | ) |
|
| void setAccum |
( |
bool |
enable | ) |
|
| void setStencil |
( |
bool |
enable | ) |
|
| void setStereo |
( |
bool |
enable | ) |
|
| bool directRendering |
( |
| ) |
const |
|
inline |
| void setDirectRendering |
( |
bool |
enable | ) |
|
| bool hasOverlay |
( |
| ) |
const |
|
inline |
| void setOverlay |
( |
bool |
enable | ) |
|
| void setOption |
( |
QGL::FormatOptions |
opt | ) |
|
| bool testOption |
( |
QGL::FormatOptions |
opt | ) |
const |
| static bool hasOpenGL |
( |
| ) |
|
|
static |
| static bool hasOpenGLOverlays |
( |
| ) |
|
|
static |
| int majorVersion |
( |
| ) |
const |
| int minorVersion |
( |
| ) |
const |
| static OpenGLVersionFlags openGLVersionFlags |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: