LWJGL
June 18, 2013, 14:09:29 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: openGL references  (Read 1345 times)
dijumx
Newbie
*
Posts: 7


« on: September 15, 2011, 00:52:11 »

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:
Code:
[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
MethodReturnsDescriptionParameters
glEnable(int cap)voidEnables a specific flagGL_LIGHTING - enables lighting
GL_BLEND - enables blending
etc
glDisable(int cap)voidDisables a specific flagGL_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?
Logged
spasi
Nerdus Imperius
*****
Posts: 752



WWW
« Reply #1 on: September 15, 2011, 01:59:07 »

The OpenGL Reference Pages on opengl.org are pretty good:

OpenGL 4.2
OpenGL 3.3
OpenGL 2.1

I mostly use the OpenGL Specification and the extension specs, found in the OpenGL Registry, here.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!