|
libGumball 0.0.1
C23-Based, libGimbal-powered UI Library
|
Go to the source code of this file.
Macros | |
| #define | GUM_MANAGER_TYPE |
Functions | |
| GBL_EXPORT GUM_IResource * | GUM_Manager_load (GblStringRef *path) GBL_NOEXCEPT |
| GBL_EXPORT void | GUM_Manager_unload (GUM_IResource *pResource) GBL_NOEXCEPT |
GUM_Manager is a resource manager for libGumball.
It is used to load resources, returning refcounted pointers to them.
| #define GUM_MANAGER_TYPE |
Returns the GUM_Manager Type UUID.
| GBL_EXPORT GUM_IResource * GUM_Manager_load | ( | GblStringRef * | path | ) |
Loads a resource from the given path, and stores it in the internal hashset. If the resource has already been loaded, returns a reference to the existing resource.
| GBL_EXPORT void GUM_Manager_unload | ( | GUM_IResource * | pResource | ) |
Unloads a resource from the manager, removing it from the internal hashset.