OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition
by Dave Shreiner, Graham Sellers, John M. Kessenich, Bill M. Licea-Kane
OpenGL Syntax
As you likely picked up on, all the functions in the OpenGL library begin with the letters “gl”, immediately followed by one or more capitalized words to name the function (glBindVertexArray(), for example). All functions in OpenGL are like that. In the program you also saw the functions that began with “glut”, which are from the OpenGL Utility Toolkit (GLUT), a library written by Mark J. Kilgard. It’s a popular cross-platform toolkit for opening windows and managing input, among other operations. We use a version of GLUT named Freeglut, originally written by Pawel W. Olszta with contributions from Andreas Umbach and Steve Baker (who currently maintains the library), which is a modern variant of the original library. Similarly, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access