I am wondering if it is possible to create a VertexArray of circles in SFML. I have looked for answers but I didn't find anything that could help. Moreover, I don't understand the part on the SFML documentation where it is written that I can create my own entities, I think this is maybe what I want to do in fact.
EDIT : I want to do that because I have to draw a lot of circles.
Thanks for helping me
sf::CircleShapeis already using a vertex array (thanks to being inherited fromsf::Shape). There is nothing extra you need to do.If you have a lot of circles, try using
sf::CircleShapefirst and only optimize when you have a real use-case that you can measure your solution against.