using drawElements dynamic

Started by Anonymous, March 21, 2005, 21:25:33

Previous topic - Next topic

Anonymous

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

forget it..

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