阅读背景:

基于非编译时变量返回类型

来源:互联网 

I'll start off by saying that I don't know if this is the most optimal method of loading resources, but right now my resource manager has content submitted to it at LoadContent, then flushes its resources and stores them in a list. Then At any point in the game's code I can call query resource and it returns a type I designed as ResourceBufferElement which at any given time contains all possible types of content for xna, but only one of them isn't null.I'll start off by saying that I don't know if t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: