#include <OgreOSXCocoaContext.h>
◆ CocoaContext()
Ogre::CocoaContext::CocoaContext |
( |
NSOpenGLContext * |
context, |
|
|
NSOpenGLPixelFormat * |
pixelFormat |
|
) |
| |
◆ ~CocoaContext()
virtual Ogre::CocoaContext::~CocoaContext |
( |
| ) |
|
|
virtual |
◆ clone()
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()
virtual void Ogre::CocoaContext::endCurrent |
( |
| ) |
|
|
virtual |
This is called before another context is made current.
By default, nothing is done here.
Implements Ogre::GL3PlusContext.
◆ getContext()
NSOpenGLContext* Ogre::CocoaContext::getContext |
( |
| ) |
|
Grab the NSOpenGLContext if it exists.
◆ getInitialized()
bool Ogre::GL3PlusContext::getInitialized |
( |
| ) |
|
|
inlineinherited |
◆ getPixelFormat()
NSOpenGLPixelFormat* Ogre::CocoaContext::getPixelFormat |
( |
| ) |
|
Grab the NSOpenGLPixelFormat if it exists.
◆ releaseContext()
virtual void Ogre::GL3PlusContext::releaseContext |
( |
| ) |
|
|
inlinevirtualinherited |
◆ setCurrent()
virtual void Ogre::CocoaContext::setCurrent |
( |
| ) |
|
|
virtual |
Enable the context.
All subsequent rendering commands will go here.
Implements Ogre::GL3PlusContext.
◆ setInitialized()
void Ogre::GL3PlusContext::setInitialized |
( |
| ) |
|
|
inlineinherited |
The documentation for this class was generated from the following file: