Search code examples
c#xnatexture2d

Unload the texture2D that I want to Unload


I would like to Unload some Texture2D without Unloading everything.

Should I create a ContentManager for each Texture2D that I'm supposed to Unload later ?
These Texture2D don't have to be Unloaded at the same time)

There's something I didn't understand but I don't know what...


Solution

  • Short answer is yes... although I suspect you may want to opt for groups of textures per content manager instead. e.g. all the textures for a given level / scene etc.