O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required