Appendix B. API Function Reference

This section contains detailed information on the OpenGL commands that support the creation, compilation, linking, and usage of shaders written in the OpenGL Shading Language, as well as the OpenGL commands added to provide generic vertex attributes and user-defined uniform variables to such shaders.

The reference pages in this section are copyrighted by 3Dlabs Inc., Ltd. © 2003–2005 and are reprinted with permission.

Implementation-Dependent API Values for GLSL

A number of new implementation-dependent values have been defined in OpenGL 2.0 to support the requirements of the OpenGL Shading Language. Each value can be queried with one of the variants of glGet.

GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

  • Defines the total number ...

Get OpenGL® Shading Language, Second Edition now with O’Reilly online learning.

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