- cpp3ds
- GlResource
Base class for classes that require an OpenGL context. More...
#include <GlResource.hpp>
Protected Member Functions | |
GlResource () | |
Default constructor. More... | |
~GlResource () | |
Destructor. More... | |
Static Protected Member Functions | |
static void | ensureGlContext () |
Make sure that a valid OpenGL context exists in the current thread. More... | |
Base class for classes that require an OpenGL context.
This class is for internal use only, it must be the base of every class that requires a valid OpenGL context in order to work.
Definition at line 39 of file GlResource.hpp.
|
protected |
Default constructor.
|
protected |
Destructor.
|
staticprotected |
Make sure that a valid OpenGL context exists in the current thread.