By default the SpriteBatch
instance used is instantiated in the LoadContent
method of Game1
.
For example see here
However a SpriteBatch
only requires a GraphicsDevice
object to be instantiated. Said GraphicsDevice
is actually already available when the Initialize
method is created, so my question is why is the SpriteBatch
created in LoadContent
?
I think that both methods are run only once per game, so don't see why you can't/shouldn't instantiate the SpriteBatch
object in the Initialize
method?