Hello Guest

using drawElements dynamic

  • 1 Replies
  • 7202 Views
*

Anonymous

using drawElements dynamic
« on: March 21, 2005, 21:25:33 »
Hi,

does anyone have a piece of code how i can use drawElements with VBO dynamic..?

normal you use it:
GL11.glDrawElements(GL11.GL_QUADS,Length,GL11.GL_UNSIGNED_INT, 0);

i want to use it with a length and a OFFSET

like
GL11.glDrawElements(GL11.GL_QUADS,offset, Length,GL11.GL_UNSIGNED_INT, 0);

thanks

guest

*

Anonymous

sorry
« Reply #1 on: March 21, 2005, 21:33:40 »
forget it..

the last argument IS the offset.. sometimes i,m stupid