Maria GDK 5.0.0.850
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::TestOpenGLContext Class Reference
Inheritance diagram for STK::TestOpenGLContext:
STK::OpenGLContext

Public Member Functions

OpenGLFunctionsfunctions () const override
 
void setOpenGLES (bool is_opengl_es)
 
bool isOpenGLES () const override
 
void setShaderVersionString (const std::string &version_string)
 
std::string getShaderVersionString () const override
 
PlatformHandleType handle () const override
 Get unique handle based on the underlying GL Context object, for example EGLContext.
 
- Public Member Functions inherited from STK::OpenGLContext
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 OpenGLFunctionsfunctions () 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.
 

Additional Inherited Members

- Public Types inherited from STK::OpenGLContext
using PlatformHandleType = uintptr_t
 
- Static Public Member Functions inherited from STK::OpenGLContext
static STK::OpenGLContextgetContext (PlatformHandleType handle)
 
static OpenGLContextcurrent ()
 
static OpenGLFunctionsglFunctions ()
 Utility for getting the glFunctions of the current context.
 
- Static Protected Member Functions inherited from STK::OpenGLContext
static void registerContext (OpenGLContext *context)
 
static void unregisterContext (PlatformHandleType handle)
 

Member Function Documentation

◆ functions()

OpenGLFunctions * STK::TestOpenGLContext::functions ( ) const
overridevirtual

Implements STK::OpenGLContext.

◆ getShaderVersionString()

std::string STK::TestOpenGLContext::getShaderVersionString ( ) const
overridevirtual

Implements STK::OpenGLContext.

◆ handle()

PlatformHandleType STK::TestOpenGLContext::handle ( ) const
inlineoverridevirtual

Get unique handle based on the underlying GL Context object, for example EGLContext.

Implements STK::OpenGLContext.

◆ isOpenGLES()

bool STK::TestOpenGLContext::isOpenGLES ( ) const
overridevirtual

Implements STK::OpenGLContext.


The documentation for this class was generated from the following files: