Use dynamic index/vertex buffers in BufferGenerator.
Update the stresstest and pong example.