O'Reilly logo

OpenGL Programming on Mac OS X: Architecture, Performance, and Integration by J. D. Sullivan, Robert P. Kuehne

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

Chapter 8. The Cocoa API for OpenGL Configuration

Cocoa, also known as AppKit, is the Objective-C API for writing modern Mac OS X applications. Cocoa provides a high-level, object-oriented set of classes and interfaces for the OpenGL subsystem and for user–interface interaction. Cocoa is the modern successor to the NextStep API from NeXT Computer; the company’s initials explain the “NS” prefix on all of the class definitions and data types. Cocoa provides a more object-oriented API than any other option on the Mac, which is useful for building UIs, handling events, and functioning as an interface to OpenGL.

We presume you’re reading this chapter with a fundamental understanding of the Objective-C language and basic Cocoa, so we won’t spend any ...

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