Say, I send 10 polygon pairs (one polygon pair == one 2d sprite == one rectangle == two triangles) into OpenGL ES 2.0 VBO. The 10 polygon pairs represent one animated 2D object consisting of 10 frames.
The 10 frames, of course, can not be rendered all at the same time, but will be rendered in particular order to make up smooth animation.
Would you have an advice, how to pick up proper polygon pair for rendering (4 vertices) inside Vertex Shader from the VBO? Creating separate VBO for each frame would end up with thousands of VBOs, which is not the right way of doing it.
I use OpenGL ES 2.0, and VBOs for both Vertices and Indices.