Resource management question. Resource containing resource
Posted
by
bobenko
on Game Development
See other posts from Game Development
or by bobenko
Published on 2012-09-19T17:23:25Z
Indexed on
2012/09/19
21:51 UTC
Read the original article
Hit count: 385
engine
|resource-management
I have resource manager handling as usual resource loading, unloading etc. With resources such an images, mesh no problem. But what to do when I have resource containing other resource (for example spriteFont contains reference to sprite and letters description). Should that sprite be added to resource manager? Or my spriteFont must be the only owner of that resource? Any thoughts on this. Have you faced with such problem? Thanks in advance.
© Game Development or respective owner