Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Batch drawing?  (Read 1177 times)

0 Members and 1 Guest are viewing this topic.

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Batch drawing?
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Batch drawing?
« Reply #1 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 ;)
Laurent Gomila - SFML developer

 

anything