Manages the data shared within an OpenGL context.
More...
#include <Rendering/OpenGL/wsglcontext.h>
- Note
- This class is deliberately does not extend or have anything to do with the QOpenGLContext class.
◆ WSGLContext()
◆ ~WSGLContext()
◆ clearAll()
◆ clearUnusedCacheItems()
void clearUnusedCacheItems |
( |
| ) |
|
◆ getBufferObjectCache()
- Warning
- Must only be called after the context has been created.
◆ getContextId()
quint64 getContextId |
( |
| ) |
const |
◆ getDefaultFormat()
QSurfaceFormat getDefaultFormat |
( |
| ) |
|
|
static |
◆ getGeometryCache()
◆ getGlyphSetCache()
- Warning
- Must only be called after the context has been created.
◆ getTextureCache()
- Warning
- Must only be called after the context has been created.
◆ operator=()
◆ setCacheCapacity()
void setCacheCapacity |
( |
size_t |
capacity | ) |
|
- Parameters
-
capacity | The desired capacity of the graphics cache. |
◆ setDefaultFormat()
void setDefaultFormat |
( |
QSurfaceFormat |
format | ) |
|
|
static |