Asking for a quick explanation...
I was just reading the Beginning OpenGL Game Programming book (Page 231) and I came accross the function glDrawArrays(). Now the prototupe for this function is:
void glDrawArrays(GLenum mode, GLint first, GLsizei count);
Now I understood what mode is from the books explanation but i have no idea what first and count are or what they represent. Could somebody please tell me what first and count are there for.
Link
first - Specifies the starting index in the enabled arrays.
count - Specifies the number of indices to be rendered.
Come on, this forum is nice and all, but Google is the bomb. Do you feel lucky? Well.. do ya, punk.
first - Specifies the starting index in the enabled arrays.
count - Specifies the number of indices to be rendered.
Come on, this forum is nice and all, but Google is the bomb. Do you feel lucky? Well.. do ya, punk.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement