|  | OGRE-Next 3.0.0
    Object-Oriented Graphics Rendering Engine | 
#include <OgreOSXCocoaContext.h>
 Inheritance diagram for Ogre::CocoaContext:
 Inheritance diagram for Ogre::CocoaContext:| Public Member Functions | |
| CocoaContext (NSOpenGLContext *context, NSOpenGLPixelFormat *pixelFormat) | |
| virtual | ~CocoaContext () | 
| virtual GL3PlusContext * | clone () const | 
| Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. | |
| virtual void | endCurrent () | 
| This is called before another context is made current. | |
| NSOpenGLContext * | getContext () | 
| Grab the NSOpenGLContext if it exists. | |
| NSOpenGLPixelFormat * | getPixelFormat () | 
| Grab the NSOpenGLPixelFormat if it exists. | |
| virtual void | setCurrent () | 
| Enable the context. | |
|  Public Member Functions inherited from Ogre::GL3PlusContext | |
| GL3PlusContext () | |
| virtual | ~GL3PlusContext () | 
| bool | getInitialized () | 
| virtual void | releaseContext () | 
| Release the render context. | |
| void | setInitialized () | 
| Ogre::CocoaContext::CocoaContext | ( | NSOpenGLContext * | context, | 
| NSOpenGLPixelFormat * | pixelFormat | ||
| ) | 
| 
 | virtual | 
| 
 | virtual | 
Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
Implements Ogre::GL3PlusContext.
| 
 | virtual | 
This is called before another context is made current.
By default, nothing is done here.
Implements Ogre::GL3PlusContext.
| NSOpenGLContext * Ogre::CocoaContext::getContext | ( | ) | 
Grab the NSOpenGLContext if it exists.
| NSOpenGLPixelFormat * Ogre::CocoaContext::getPixelFormat | ( | ) | 
Grab the NSOpenGLPixelFormat if it exists.
| 
 | virtual | 
Enable the context.
All subsequent rendering commands will go here.
Implements Ogre::GL3PlusContext.