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