Core class that represents a resource manager.
More...
template<typename Type, typename Parameters>
class Nz::ResourceManager< Type, Parameters >
Core class that represents a resource manager.
◆ Get()
template<typename Type , typename Parameters >
Gets a reference to the object loaded from file.
- Returns
- Reference to the object
- Parameters
-
filePath | Path to the asset that will be loaded |
◆ GetDefaultParameters()
template<typename Type , typename Parameters >
Gets the defaults parameters for the load.
- Returns
- Default parameters for loading from file
◆ Register()
template<typename Type , typename Parameters >
Registers the resource under the filePath.
- Parameters
-
filePath | Path for the resource |
resource | Object to associate with |
◆ SetDefaultParameters()
template<typename Type , typename Parameters >
void Nz::ResourceManager< Type, Parameters >::SetDefaultParameters |
( |
const Parameters & |
params | ) |
|
|
static |
Sets the defaults parameters for the load.
- Parameters
-
params | Default parameters for loading from file |
◆ Unregister()
template<typename Type , typename Parameters >
Unregisters the resource under the filePath.
- Parameters
-
filePath | Path for the resource |
The documentation for this class was generated from the following files: