Hi,
Can anybody suggest a good place to get an up to date openGL reference?
For example, in the lwjgl javadoc (org.lwjgl.opengl.gl11) there is this:
[b]glEnable[/b]
public static void glEnable(int cap)
however looking at this there isn't any reference to what "cap" means, or what values it can take, so something like
Method | Returns | Description | Parameters |
glEnable(int cap) | void | Enables a specific flag | GL_LIGHTING - enables lighting GL_BLEND - enables blending etc |
glDisable(int cap) | void | Disables a specific flag | GL_LIGHTING - disables lighting GL_BLEND - diables blending etc |
would be very useful, especially if it refers to all methods, and all of the Constants the methods can take.
It would also be useful if it existed for all versions of openGL, with cross references as to when the methods were introduced, when/if they were deprecated.
Another useful feature would be for the methods to be subsectioned, so methods for textures, for buffers, for colours, for general setup etc.
Can anybody point me in the way of such a reference? or can somebody take up the challenge and produce one for the wiki?