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 3.1 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 ...

Get OpenGL Shading Language, Third Edition 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.