Shader Objects


This chapter describes shader objects (or shaders) and the functions you can use to manipulate them. You use shaders to provide shading and other effects to the objects in a model. For example, you can use a texture shader to apply a texture to the surface of an object in a model.

To use this chapter, you should already be familiar with views and lights, described in the chapters "View Objects" and "Error Manager" earlier in
this book.

This chapter begins by describing shader objects and their features. Then it shows how to create and manipulate shaders. The section "Shader Objects Reference," beginning on page 14-16 provides a complete description of shader objects and the routines you can use to create and manipulate them.

14 - About Shader Objects
14 - Using Shader Objects
14 - Shader Objects Reference
14 - Summary of Shader Objects

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker