Resource management question. Resource containing resource
- by bobenko
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.