PDA

View Full Version : Buffer Object



Egibert
08-08-2011, 01:55 PM
Hi everyone.
I'm making a 3d game engine with opengl es and c++ but I have one problem with the buffers. My problem is I render one quad on the screen( I have an array that contains the vertices and the texture coord of one quad and I upload the data on a buffer) after that I render another quad using a buffer also, but after that if I want to move on of this two quads I need to clean the screen an then render again the moved quad. But my question is if I upload some data on one buffer and after I upload more data the first data is removed or not ? And if its removed from the buffer how I need to do-it for render the to quads ?


Thanks for the help.