LWJGL Forum

Programming => LWJGL Documentation => Topic started by: abdrnasr on September 30, 2016, 18:33:08

Title: i can't understand what is the purpose of these code
Post by: abdrnasr 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
Title: Re: i can't understand what is the purpose of these code
Post by: Kai 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.
Title: Re: i can't understand what is the purpose of these code
Post by: abdrnasr 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
Title: Re: i can't understand what is the purpose of these code
Post by: Kai 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.