OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::Win32Context Class Reference

#include <OgreWin32Context.h>

+ Inheritance diagram for Ogre::Win32Context:
+ Collaboration diagram for Ogre::Win32Context:

Public Member Functions

 Win32Context (HDC HDC, HGLRC Glrc)
 
 Win32Context (HDC HDC, HGLRC Glrc)
 
virtual ~Win32Context ()
 
virtual ~Win32Context ()
 
GLContextclone () const
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
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 GLContext. More...
 
virtual void endCurrent ()
 See GL3PlusContext. More...
 
HGLRC getGlrc () const
 
bool getInitialized ()
 
bool getInitialized ()
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void setCurrent ()
 See GLContext. More...
 
virtual void setCurrent ()
 See GL3PlusContext. More...
 
void setInitialized ()
 
void setInitialized ()
 

Protected Attributes

bool initialized
 
bool initialized
 
HGLRC mGlrc
 
HDC mHDC
 

Detailed Description

Definition at line 36 of file include/Win32/OgreWin32Context.h.

Constructor & Destructor Documentation

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

Member Function Documentation

GLContext* 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::GLContext.

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::GLContext.

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

See GLContext.

Implements Ogre::GLContext.

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

See GL3PlusContext.

Implements Ogre::GLContext.

HGLRC Ogre::Win32Context::getGlrc ( ) const
bool Ogre::GLContext::getInitialized ( )
inlineinherited

Definition at line 57 of file OgreGLContext.h.

bool Ogre::GL3PlusContext::getInitialized ( )
inlineinherited

Definition at line 58 of file OgreGL3PlusContext.h.

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

Release the render context.

Reimplemented from Ogre::GLContext.

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

Release the render context.

Reimplemented from Ogre::GLContext.

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

See GLContext.

Implements Ogre::GLContext.

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

See GL3PlusContext.

Implements Ogre::GLContext.

void Ogre::GLContext::setInitialized ( )
inlineinherited

Definition at line 58 of file OgreGLContext.h.

void Ogre::GL3PlusContext::setInitialized ( )
inlineinherited

Definition at line 59 of file OgreGL3PlusContext.h.

Member Data Documentation

bool Ogre::GLContext::initialized
protectedinherited

Definition at line 71 of file OgreGLContext.h.

bool Ogre::GL3PlusContext::initialized
protectedinherited

Definition at line 73 of file OgreGL3PlusContext.h.

HGLRC Ogre::Win32Context::mGlrc
protected

Definition at line 56 of file include/Win32/OgreWin32Context.h.

HDC Ogre::Win32Context::mHDC
protected

Definition at line 55 of file include/Win32/OgreWin32Context.h.


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