本文介绍了卸载我要卸载的 texture2D的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想卸载一些 Texture2D 而不卸载所有东西.
I would like to Unload some Texture2D without Unloading everything.
我是否应该为我应该稍后卸载的每个 Texture2D 创建一个 ContentManager?
这些Texture2D不必同时卸载)
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...
推荐答案
简短的回答是肯定的...虽然我怀疑您可能希望为每个内容管理器选择纹理组.例如给定关卡/场景等的所有纹理
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.
这篇关于卸载我要卸载的 texture2D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!