12.8 OpenGL

These functions are used to set and get global OpenGL options, as well as to obtain the version number of the installed OpenGL libraries.

NSOpenGLGetOption

void NSOpenGLGetOption(NSOpenGLGlobalOption pname, long *param)

NSOpenGLGetVersion

void NSOpenGLGetVersion(long *major, long *minor)

NSOpenGLSetOption

void NSOpenGLSetOption(NSOpenGLGlobalOption pname, long param)



    Part II: API Quick Reference
    Chapter 13. Foundation Classes