View Full Version : Where can I find each constant value?
12-30-2010, 11:24 AM
I'd like to find a list of all GL constants and their values, like GL_TEXTURE_2D and GL_LINE_LOOP.
I've searched the site and I seem to only be able to find their descriptions, not their actual value.
12-30-2010, 11:42 AM
On this page (http://www.opengl.org/registry/) there is a section "Enumerant and Function Registry" which has a bunch of .spec files that contain the values.
Another source is the gl.h header on your system ;)
12-30-2010, 01:37 PM
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.