virtual String getContextType()
Return value will be "CGL".
CGLContextObj getContext()
Grab the CGLContext if it exists.
Class that encapsulates an GL context.
CGLPixelFormatObj mPixelFormat
virtual void endCurrent()
This is called before another context is made current.
virtual void setCurrent()
See GLContext.
virtual GLContext * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
CGLContextObj mCGLContext
Class that encapsulates an GL context.
OSXCGLContext(CGLContextObj cglContext, CGLPixelFormatObj pixelFormat)