Chapter 10. API Interoperability


This chapter will cover a variety of topics related to using some of the powerful (and cool) APIs on the Mac with your OpenGL application. You might be wondering what we really mean when we say “interoperability” in the chapter title. Perhaps a better term might be “interfacing.” We’re going to explore how you get data from other APIs, other subsystems, and other data formats you have and use into your OpenGL application on the Mac.

That description, though general, is vague, so let’s consider a concrete example of how this might be useful: You want to play a video in a scene. So how do you play a video? It’s conceptually simple—you open a sequence of images and draw them as textures on an object. But ...

Get OpenGL Programming on Mac OS X: Architecture, Performance, and Integration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.