OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::Win32Context Class Reference

#include <OgreWin32Context.h>

+ Inheritance diagram for Ogre::Win32Context:

Public Member Functions

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

Constructor & Destructor Documentation

◆ Win32Context()

Ogre::Win32Context::Win32Context ( HDC  HDC,
HGLRC  Glrc 
)

◆ ~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

◆ 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: