OGRE-Next  4.0.0unstable
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 ()
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void setCurrent ()
 See GL3PlusContext. More...
 
- Public Member Functions inherited from Ogre::GL3PlusContext
 GL3PlusContext ()
 
virtual ~GL3PlusContext ()
 
bool getInitialized ()
 
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

◆ releaseContext()

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

Release the render context.

Reimplemented from Ogre::GL3PlusContext.

◆ setCurrent()

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

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