OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::Win32Context Class Reference

#include <OgreWin32Context.h>

+ Inheritance diagram for Ogre::Win32Context:

Public Member Functions

 Win32Context (HDC hdc, HGLRC glrc, uint32 contexMajorVersion, uint32 contexMinorVersion)
 
virtual ~Win32Context ()
 
GL3PlusContextclone () const
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
virtual void endCurrent ()
 See GL3PlusContext. More...
 
HGLRC getHGLRC ()
 
bool getInitialized ()
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void setCurrent ()
 See GL3PlusContext. More...
 
void setInitialized ()
 

Constructor & Destructor Documentation

◆ Win32Context()

Ogre::Win32Context::Win32Context ( HDC  hdc,
HGLRC  glrc,
uint32  contexMajorVersion,
uint32  contexMinorVersion 
)

◆ ~Win32Context()

virtual Ogre::Win32Context::~Win32Context ( )
virtual

Member Function Documentation

◆ clone()

GL3PlusContext* Ogre::Win32Context::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::GL3PlusContext.

◆ endCurrent()

virtual void Ogre::Win32Context::endCurrent ( )
virtual

◆ getHGLRC()

HGLRC Ogre::Win32Context::getHGLRC ( )
inline

◆ getInitialized()

bool Ogre::GL3PlusContext::getInitialized ( )
inlineinherited

◆ releaseContext()

virtual void Ogre::Win32Context::releaseContext ( )
virtual

Release the render context.

Reimplemented from Ogre::GL3PlusContext.

◆ setCurrent()

virtual void Ogre::Win32Context::setCurrent ( )
virtual

◆ setInitialized()

void Ogre::GL3PlusContext::setInitialized ( )
inlineinherited

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