Chapter 10. Profiles and Performance

This chapter provides additional information about the profiles supported by your Cg compiler and offers advice on how to write high-performance Cg programs. This chapter has the following two sections:

  • Profile Descriptions describes the capabilities and limitations of the OpenGL and Direct3D profiles supported by Cg.

  • Performance gives practical advice about improving the performance of your Cg programs.

Profile Descriptions

This section describes the profiles that are available in Cg at the time of writing, along with brief summaries of their capabilities and limitations. More detailed information is available in the Cg Toolkit User’s Manual: A Developer’s Guide to Programmable Graphics, which is available ...

Get The Cg Tutorial: The Definitive Guide to Programmable Real-Time Graphics now with the O’Reilly learning platform.

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