Hello Guest

i can't understand what is the purpose of these code

  • 3 Replies
  • 1509 Views
i can't understand what is the purpose of these code
« on: September 30, 2016, 18:33:08 »
in the documentation some opengl methods and fields there are no info to tell what it does how can i know what these codes means
as an example :
class GL11 most of the methods do not have info

*

Kai

Re: i can't understand what is the purpose of these code
« Reply #1 on: September 30, 2016, 18:42:36 »
What do you mean? Every method in the OpenGL classes has attached JavaDocs. You of course need to have the JavaDocs/sources attached to the LWJGL jars.
« Last Edit: September 30, 2016, 18:57:11 by Kai »

Re: i can't understand what is the purpose of these code
« Reply #2 on: September 30, 2016, 19:10:15 »
i was looking in the docs for example in GL11
there is a function called
glTexCoordPointer

that is what is written only in the docs:

public static void glTexCoordPointer(int size,
                     int type,
                     int stride,
                     long pointer_buffer_offset)

i didnt get its meaning

*

Kai

Re: i can't understand what is the purpose of these code
« Reply #3 on: September 30, 2016, 19:12:44 »
This is not that method's JavaDoc. It's its signature. You have to download the sources/JavaDocs to have JavaDocs.
Besides that: If you want to know a function's meaning and semantics in detail, you can just google it and will usually be directed to www.opengl.org.
« Last Edit: September 30, 2016, 19:17:07 by Kai »