Login  Register

glMultiDrawArrays

Posted by Jeffg on Jan 06, 2011; 8:59pm
URL: https://forum.jogamp.org/glMultiDrawArrays-tp2208164.html

I don't understand what I'm suppose to put as the Intbuffer or Int[]
glMultiDrawArrays(int mode, int[] first, int first_offset, int[] count, int count_offset, int primcount)
glMultiDrawArrays(int mode, IntBuffer first, IntBuffer count, int primcount)

I understand the other pieces from DrawArrays, and I get the primcount.  What is first and count looking for here?  Can someone give an short example?