Resource Manager - Team-Innis/UtH-Engine GitHub Wiki

ResourceManager is a singleton class that takes care of all the common resources you might use. Use of this class is required if you want to use any of the following resources:

  • Textures
  • Images
  • Fonts
  • Sounds

You can access these resources with their respective Load* functions. You can access the ResourceManager with the uthRS macro.

If any resource has been loaded before, it won't be loaded again, but a pointer to it will be returned. You can unload resources by using either the Clear or Delete* function. Resources will be automatically cleared when scene is changed.

⚠️ **GitHub.com Fallback** ⚠️