LWJGL
June 17, 2013, 22:39:08 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: GL11, GL12...GL21  (Read 5600 times)
Jabbaharazeb
Newbie
*
Posts: 2


« on: December 12, 2007, 18:47:53 »

Someone already asked a question about the different GL11, GL12 etc. Here: http://lwjgl.org/forum/index.php/topic,2237.0.html

But it didn't answer my question.  In the online documention: http://www.lwjgl.org/javadoc/
I see that GL11 contains all of the familiar fields and functions of OpenGL Ver 1.1, but the later versions like GL15, GL20 for instance are missing those fields/functions.

example:  static void glBegin(int mode);
This function is listed under GL11, but not under the others.  Is it simply implied that the later GL versions contain these earlier fields/functions?  Or are they actually not included in the newer APIs?

Note:  I've only worked with OpenGL 1.1 and C++ so far, that's why I'm not sure about the doc's meaning.

 
Logged
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #1 on: December 12, 2007, 22:26:34 »

yes, its implied.
GL21 > GL20 > GL15 > GL14 > GL13 > GL12 > GL11

This means that if you only use GL11, GL12, GL13 you know that your technical requirements is OpenGL 1.3
Logged

grom358
Newbie
*
Posts: 5


« Reply #2 on: December 13, 2007, 00:51:21 »

To clarify what Matzon said. GL11 has the 1.1 API. 1.2 only has the new stuff added in 1.2 version.

So if you want to use all of say version 2.0 then you would be importing GL11, GL12, GL13, etc.

The whole of LJWGL is like this. Say you want to use the multi-texture extension. Then you import ARBMultitexture.
Logged
Jabbaharazeb
Newbie
*
Posts: 2


« Reply #3 on: December 14, 2007, 18:01:52 »

Thanks for the replys!  Smiley
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!