Unload the texture2D that I want to Unload

浪子不回头ぞ 提交于 2020-01-07 05:05:26

问题


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...


回答1:


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.



来源:https://stackoverflow.com/questions/14970672/unload-the-texture2d-that-i-want-to-unload

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!