OGRE-Next: Ogre::Win32Context Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::Win32Context Class Reference

`#include <OgreWin32Context.h>`

Inheritance diagram for Ogre::Win32Context:
[legend]

## Public Member Functions
| Win32Context (HDC hdc, HGLRC glrc, uint32 contexMajorVersion, uint32 contexMinorVersion)
virtual | ~Win32Context ()
GL3PlusContext * | clone () const
| Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
virtual void | endCurrent ()
| See GL3PlusContext.
HGLRC | getHGLRC ()
virtual void | releaseContext ()
| Release the render context.
virtual void | setCurrent ()
| See GL3PlusContext.
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.

References Ogre::GL3PlusContext::GL3PlusContext().

## ◆ endCurrent()

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

See GL3PlusContext.

Implements Ogre::GL3PlusContext.

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

See GL3PlusContext.

Implements Ogre::GL3PlusContext.

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

- OgreWin32Context.h