Public Member Functions | Protected Attributes
Ogre::Win32Context Class Reference

#include <OgreWin32Context.h>

Inheritance diagram for Ogre::Win32Context:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Win32Context (HDC HDC, HGLRC Glrc)
 Win32Context (HDC HDC, HGLRC Glrc)
virtual ~Win32Context ()
virtual ~Win32Context ()
GLContextclone () const
GL3PlusContextclone () const
virtual void endCurrent ()
 See GLContext.
virtual void endCurrent ()
 See GL3PlusContext.
bool getInitialized ()
bool getInitialized ()
virtual void releaseContext ()
 Release the render context.
virtual void releaseContext ()
 Release the render context.
virtual void setCurrent ()
 See GLContext.
virtual void setCurrent ()
 See GL3PlusContext.
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.

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 GL3PlusContext.

Implements Ogre::GLContext.

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

See GLContext.

Implements Ogre::GLContext.

bool Ogre::GLContext::getInitialized ( ) [inherited]

Definition at line 57 of file OgreGLContext.h.

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 ( ) [inherited]

Definition at line 58 of file OgreGLContext.h.

Definition at line 59 of file OgreGL3PlusContext.h.


Member Data Documentation

bool Ogre::GLContext::initialized [protected, inherited]

Definition at line 71 of file OgreGLContext.h.

bool Ogre::GL3PlusContext::initialized [protected, inherited]

Definition at line 73 of file OgreGL3PlusContext.h.

HGLRC Ogre::Win32Context::mGlrc [protected]

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

HDC Ogre::Win32Context::mHDC [protected]

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


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:46