![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
#include <OgreWin32Context.h>
Public Member Functions | |
Win32Context (HDC hdc, HGLRC glrc, uint32 contexMajorVersion, uint32 contexMinorVersion) | |
virtual | ~Win32Context () |
GL3PlusContext * | clone () const |
Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. | |
virtual void | endCurrent () |
See GL3PlusContext. | |
HGLRC | getHGLRC () |
virtual void | releaseContext () |
Release the render context. | |
virtual void | setCurrent () |
See GL3PlusContext. | |
![]() | |
GL3PlusContext () | |
virtual | ~GL3PlusContext () |
virtual GL3PlusContext * | clone () const =0 |
Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. | |
virtual void | endCurrent ()=0 |
This is called before another context is made current. | |
bool | getInitialized () |
virtual void | releaseContext () |
Release the render context. | |
virtual void | setCurrent ()=0 |
Enable the context. | |
void | setInitialized () |
Ogre::Win32Context::Win32Context | ( | HDC | hdc, |
HGLRC | glrc, | ||
uint32 | contexMajorVersion, | ||
uint32 | contexMinorVersion | ||
) |
|
virtual |
|
virtual |
Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
Implements Ogre::GL3PlusContext.
|
virtual |
See GL3PlusContext.
Implements Ogre::GL3PlusContext.
|
inline |
|
virtual |
Release the render context.
Reimplemented from Ogre::GL3PlusContext.
|
virtual |
See GL3PlusContext.
Implements Ogre::GL3PlusContext.