SFML community forums

Help => Graphics => Topic started by: Richy19 on August 23, 2011, 11:41:02 pm

Title: Batch drawing?
Post by: Richy19 on August 23, 2011, 11:41:02 pm
I wanted to know if there was anyway to load up everything you want to draw and then draw it all at once, instead of making a draw call for each object.

The main performance losses that you have with graphic API's isnt the amount of objects to draw but the amount of draw calls and I wanted to know if there was a way of makingg all my sprite/shape draw calls into one?

If not are there any plans for this in the future?
Title: Batch drawing?
Post by: Laurent on August 24, 2011, 09:00:43 am
This is exactly what I'm working on, and as soon as it's finished SFML 2 will be released ;)