#include <IAssetManager.hpp>
|
| virtual | ~IAssetManager ()=default |
| virtual const std::filesystem::path & | getAssetsPath () const=0 |
| | Get the Assets Path object.
|
| virtual std::filesystem::path | resolveAsset (const std::filesystem::path &relativePath) const=0 |
| | Resolve the full path of an asset given its relative path.
|
| virtual bool | assetExists (const std::filesystem::path &relativePath) const=0 |
| | Check if an asset exists given its relative path.
|
| virtual bool | validate () const=0 |
| | Validate the asset manager configuration.
|
◆ ~IAssetManager()
| virtual dotnamecpp::assets::IAssetManager::~IAssetManager |
( |
| ) |
|
|
virtualdefault |
◆ assetExists()
| virtual bool dotnamecpp::assets::IAssetManager::assetExists |
( |
const std::filesystem::path & | relativePath | ) |
const |
|
nodiscardpure virtual |
Check if an asset exists given its relative path.
- Parameters
-
- Returns
- true
-
false
◆ getAssetsPath()
| virtual const std::filesystem::path & dotnamecpp::assets::IAssetManager::getAssetsPath |
( |
| ) |
const |
|
nodiscardpure virtual |
Get the Assets Path object.
- Returns
- const std::filesystem::path&
◆ resolveAsset()
| virtual std::filesystem::path dotnamecpp::assets::IAssetManager::resolveAsset |
( |
const std::filesystem::path & | relativePath | ) |
const |
|
nodiscardpure virtual |
Resolve the full path of an asset given its relative path.
- Parameters
-
- Returns
- std::filesystem::path
◆ validate()
| virtual bool dotnamecpp::assets::IAssetManager::validate |
( |
| ) |
const |
|
nodiscardpure virtual |
Validate the asset manager configuration.
- Returns
- true
-
false
The documentation for this class was generated from the following file: