javascript - OpenGL method number value -


i have seen opengl codes written this:

glmatrixmode(gl_projection); glloadidentity(); glortho(1,1,1,1,1,-1); glmatrixmode(gl_modelview); 

and have seen opengl codes written this:

glenable(2896); gldisable(3042); 

notice number values in glenable() , gldisable() methods.

my real question is: have link website has list of every method or number value corresponds whichever mode putting in code? like, glenable(2896); mean?

the enum names , values live in gl.xml, off of main spec registry page.

given example of glenable(2896):

  1. 2896 in hex 0x0b50
  2. searching gl.xml value lands on

    <enum value="0x0b50" name="gl_lighting"/>

  3. which can see corresponds gl_lighting


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -