#include <StkQtOpenGLContext.h>
|
| OpenGLContext (QOpenGLContext *qglContext) |
|
OpenGLContext::PlatformHandleType | handle () const override |
| Get unique handle based on the underlying GL Context object, for example EGLContext.
|
|
virtual STK::OpenGLFunctions * | functions () const override |
|
virtual bool | isOpenGLES () const override |
|
virtual std::string | getShaderVersionString () const override |
|
virtual void | initialize () |
|
void | cleanup () |
| Cleanup context specific GL resources. Requires that this context is current!
|
|
int | getMajorVersion () const |
|
int | getMinorVersion () const |
|
const std::string & | getVendorString () const |
|
const std::string & | getRendererString () const |
|
const std::string & | getVersionString () const |
|
const std::string & | getExtensionString () const |
|
virtual PlatformHandleType | handle () const =0 |
| Get unique handle based on the underlying GL Context object, for example EGLContext.
|
|
virtual OpenGLFunctions * | functions () const =0 |
|
virtual bool | isOpenGLES () const =0 |
|
virtual std::string | getShaderVersionString () const =0 |
|
bool | hasExtension (const char *ext) const |
|
void | requestCleanupVAO (GLuint vao) |
| Request that the VAO is cleaned up next time the context is current.
|
|
void | requestCleanupVBO (GLuint vao) |
|
void | requestCleanupTexture (GLuint tex) |
|
bool | hasTextureFilterAnisotropic () const |
|
bool | hasTextureCompression () const |
|
bool | hasTextureCompressionS3TC () const |
|
void | makeCurrent () |
| Set this context as current context. Will also process cleanup requests for this context.
|
|
OpenGLContext - Short description
◆ ~OpenGLContext()
StkQt::OpenGLContext::~OpenGLContext |
( |
| ) |
|
|
virtual |
◆ functions()
◆ getShaderVersionString()
std::string StkQt::OpenGLContext::getShaderVersionString |
( |
| ) |
const |
|
overridevirtual |
◆ handle()
OpenGLContext::PlatformHandleType OpenGLContext::handle |
( |
| ) |
const |
|
overridevirtual |
Get unique handle based on the underlying GL Context object, for example EGLContext.
Implements STK::OpenGLContext.
◆ isOpenGLES()
bool StkQt::OpenGLContext::isOpenGLES |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- Native/SilentToolkit/StkQtSupport/StkQtOpenGLContext.h
- Native/SilentToolkit/StkQtSupport/StkQtOpenGLContext.cpp