The title says it all.
does calling multiple Stage
s draw() method with the same SpriteBatcher
object happens only in a single batch or it is one Stage
= one batch?
I have a situation where i dont want to use actors for the background of the game, i just draw it directly. But the algo looks like this.
- begin batch
- draw background
- end batch
- call all stage draw
If your answer is: the spritebatch will draw multiple stages in one batch, then I can say that it is more efficient to put each sprites as a member to an Actor object and then add all Actor object to the Stage object, then call the stage draw. This way, i can minimize the call to begin batch and end batch which can improve performance as what i know.