SFML community forums

General => Feature requests => Topic started by: Vovosunt on May 02, 2012, 06:19:26 pm

Title: full vector functionality for vertexArray
Post by: Vovosunt on May 02, 2012, 06:19:26 pm
Just thought, since vertexArray is basically a vector<Vertex>, why not add all the functionality, like insert, remove and so on.
It's really easy to do and quite damn useful  :)

Also a side question: do all the vertices in the draw call get stored into a VBO?
Title: Re: full vector functionality for vertexArray
Post by: Laurent on May 02, 2012, 07:26:21 pm
Why don't you use a std::vector if you need all its functions?

Quote
do all the vertices in the draw call get stored into a VBO?
No.