Class that encapsulates an GL context.
More...
#include <OgreGLES2Context.h>
Class that encapsulates an GL context.
(IE a window/pbuffer). This is a virtual base class which should be implemented in a GLES2Support. This object can also be used to cache renderstate if we decide to do so in the future.
◆ GLES2Context()
Ogre::GLES2Context::GLES2Context |
( |
| ) |
|
◆ ~GLES2Context()
virtual Ogre::GLES2Context::~GLES2Context |
( |
| ) |
|
|
virtual |
◆ clone()
Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
- Note
- The caller is responsible for deleting the returned context.
Implemented in Ogre::NaClGLContext.
◆ endCurrent()
virtual void Ogre::GLES2Context::endCurrent |
( |
| ) |
|
|
pure virtual |
This is called before another context is made current.
By default, nothing is done here.
Implemented in Ogre::NaClGLContext.
◆ getInitialized()
bool Ogre::GLES2Context::getInitialized |
( |
| ) |
|
|
inline |
◆ releaseContext()
virtual void Ogre::GLES2Context::releaseContext |
( |
| ) |
|
|
inlinevirtual |
Release the render context.
◆ setCurrent()
virtual void Ogre::GLES2Context::setCurrent |
( |
| ) |
|
|
pure virtual |
Enable the context.
All subsequent rendering commands will go here.
Implemented in Ogre::NaClGLContext.
◆ setInitialized()
void Ogre::GLES2Context::setInitialized |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: