Where can I find each constant value?

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.

On this page 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 :wink:

Thank you!