OpenGL 4 Reference Pages

Use the index on the left to choose any OpenGL reference page for viewing. There are two forms of the index which can be selected by clicking at the top of the index; a traditional flat index combining the API commands and GLSL functions, and an accordion-style index with separate sections for commands and functions. The flat index also includes per-letter section links.

The reference pages include all of the important usage information for each command and function. This information includes a description of all parameters, return values, error conditions, related commands and functions, and version support.

Core Context Functionality

These man pages only document OpenGL 4 core context functionality. For compatibility context specific functionality, please refer to the OpenGL 2.1 Reference Pages and/or the appropriate extension spec you are interested in using.

Browser Compatibility

The man pages are now generated in HTML5 format with imbedded MathML, and rely on MathJax to render mathematical equations on browsers which do not natively support MathML. This should work much better on Chrome, Safari, and other browsers which don't support MathML natively.

However, HTML5 isn't well supported on IE 8 or earlier versions. We recommend you use a more recent browser for viewing the man pages.

Downloading Man Page Sources

The Docbook XML source for the man pages is available for anonymous checkout in Khronos' Subversion server, and you can build a man page distribution of your own using open source tools. See the technical Wiki pages describing the XML Toolchain and Man Pages for more information.


If you find any inaccuracies or typos in the reference pages, please inform us using the Khronos Bugzilla (you must first create a Bugzilla account, however).