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):
2896in hex0x0b50searching gl.xml value lands on
<enum value="0x0b50" name="gl_lighting"/>which can see corresponds
gl_lighting
Comments
Post a Comment