Asking for a quick explanation...

Started by
1 comment, last by Meganan 18 years ago
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.
<-> Rate someone badly if they say something that has absolutely nothing to do with your problem; don't rate people badly because they tried to help you with their limited knowledge. <->
Advertisement
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.
-------Harmotion - Free 1v1 top-down shooter!Double Jump StudiosBlog
Thankyou that helped alot. And your right I should have checked google first.
<-> Rate someone badly if they say something that has absolutely nothing to do with your problem; don't rate people badly because they tried to help you with their limited knowledge. <->

This topic is closed to new replies.

Advertisement