Chapter 10. API Interoperability

Overview

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.