Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Sprite Batch control

$
0
0

@MuntyScruntFundle wrote:

I'm cleaning up a sandbox into proper Classes, I've been a bit lazy and it's time to do some housekeeping.

And I'm sat here wondering; is it better to use only one Sprite Batch and pass it to all other classes for drawing, or is it better (or at least no worse) to creating a new batch in each class.

Common sense is telling me passing the Batch to all classes that need to draw is going to be a lot better, but my common sense has been known to let me down from time to time!

Thanks.

Posts: 4

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles