OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::GLXContext Class Referencefinal

#include <OgreGLXContext.h>

+ Inheritance diagram for Ogre::GLXContext:

Public Member Functions

 GLXContext (GLXGLSupport *glsupport, ::GLXFBConfig fbconfig, ::GLXDrawable drawable, ::GLXContext context=0)
 
 ~GLXContext () override
 
::GLXFBConfig _getFbConfig () const
 
GL3PlusContextclone () const override
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
void endCurrent () override
 This is called before another context is made current. More...
 
bool getInitialized ()
 
virtual void releaseContext ()
 Release the render context. More...
 
void setCurrent () override
 Enable the context. More...
 
void setInitialized ()
 

Public Attributes

::GLXContext mContext
 
::GLXDrawable mDrawable
 

Constructor & Destructor Documentation

◆ GLXContext()

Ogre::GLXContext::GLXContext ( GLXGLSupport glsupport,
::GLXFBConfig  fbconfig,
::GLXDrawable  drawable,
::GLXContext  context = 0 
)

◆ ~GLXContext()

Ogre::GLXContext::~GLXContext ( )
override

Member Function Documentation

◆ _getFbConfig()

::GLXFBConfig Ogre::GLXContext::_getFbConfig ( ) const
inline

◆ clone()

GL3PlusContext* Ogre::GLXContext::clone ( ) const
overridevirtual

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()

void Ogre::GLXContext::endCurrent ( )
overridevirtual

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GL3PlusContext.

◆ getInitialized()

bool Ogre::GL3PlusContext::getInitialized ( )
inlineinherited

◆ releaseContext()

virtual void Ogre::GL3PlusContext::releaseContext ( )
inlinevirtualinherited

Release the render context.

Reimplemented in Ogre::Win32Context.

◆ setCurrent()

void Ogre::GLXContext::setCurrent ( )
overridevirtual

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GL3PlusContext.

◆ setInitialized()

void Ogre::GL3PlusContext::setInitialized ( )
inlineinherited

Member Data Documentation

◆ mContext

::GLXContext Ogre::GLXContext::mContext

◆ mDrawable

::GLXDrawable Ogre::GLXContext::mDrawable

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