Sign in to follow this  
Meganan

Asking for a quick explanation...

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this