#include <OgreNaClGLContext.h>
◆ NaClGLContext()
Ogre::NaClGLContext::NaClGLContext |
( |
const NaClWindow * |
window, |
|
|
const NaClGLSupport * |
glsupport, |
|
|
pp::Instance * |
instance, |
|
|
pp::CompletionCallback * |
swapCallback |
|
) |
| |
◆ ~NaClGLContext()
virtual Ogre::NaClGLContext::~NaClGLContext |
( |
| ) |
|
|
virtual |
◆ setCurrent()
virtual void Ogre::NaClGLContext::setCurrent |
( |
| ) |
|
|
virtual |
Enable the context.
All subsequent rendering commands will go here.
Implements Ogre::GLContext.
◆ endCurrent()
virtual void Ogre::NaClGLContext::endCurrent |
( |
| ) |
|
|
virtual |
This is called before another context is made current.
By default, nothing is done here.
Implements Ogre::GLContext.
◆ clone()
GLContext* Ogre::NaClGLContext::clone |
( |
| ) |
const |
|
virtual |
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.
Implements Ogre::GLContext.
◆ swapBuffers()
void Ogre::NaClGLContext::swapBuffers |
( |
| ) |
|
◆ resize()
void Ogre::NaClGLContext::resize |
( |
| ) |
|
◆ Graphics3DContextLost()
virtual void Ogre::NaClGLContext::Graphics3DContextLost |
( |
| ) |
|
|
virtual |
The Graphics3DClient interface - pp::Graphics3DClient_Dev.
◆ getInitialized()
bool Ogre::GLContext::getInitialized |
( |
| ) |
|
|
inlineinherited |
◆ setInitialized()
void Ogre::GLContext::setInitialized |
( |
| ) |
|
|
inlineinherited |
◆ releaseContext()
virtual void Ogre::GLContext::releaseContext |
( |
| ) |
|
|
inlinevirtualinherited |
Release the render context.
◆ createOrRetrieveStateCacheManager()
template<class StateCacheManager >
StateCacheManager* Ogre::GLContext::createOrRetrieveStateCacheManager |
( |
| ) |
|
|
inlineinherited |
Get the state cache manager, creating it on demand.
References OGRE_NEW.
◆ _getVaoDeferredForDestruction()
vector<uint32>::type& Ogre::GLContext::_getVaoDeferredForDestruction |
( |
| ) |
|
|
inlineinherited |
VAOs deferred for destruction in proper GL context.
◆ _getFboDeferredForDestruction()
vector<uint32>::type& Ogre::GLContext::_getFboDeferredForDestruction |
( |
| ) |
|
|
inlineinherited |
FBOs deferred for destruction in proper GL context.
The documentation for this class was generated from the following file: