Resource manager loading from FileResourceDocument. More...
#include <file_resource_manager.h>
Static Public Member Functions | |
static void | add_cache_factory (std::function< void(ResourceManager &, const FileResourceDocument &)> factory_callback) |
Adds a cache factory callback. | |
static ResourceManager | create (const FileResourceDocument &doc=FileResourceDocument()) |
Creates a resource manager. | |
static FileResourceDocument & | get_doc (const ResourceManager &manager) |
Gets the XML resource document used by a resource manager. | |
Resource manager loading from FileResourceDocument.
|
static |
Adds a cache factory callback.
Each factory callback is invoked every time a resource manager is created.
|
static |
Creates a resource manager.
|
static |
Gets the XML resource document used by a resource manager.