|
std::optional< AssetHandle > | shkyera::utils::assets::registerSingle (std::filesystem::path path, Registry *registry) |
|
std::optional< AssetHandle > | shkyera::utils::assets::registerAll (std::filesystem::path path, Registry *registry) |
|
std::vector< AssetHandle > | shkyera::utils::assets::getSubdirectories (AssetHandle directory, Registry const *registry) |
|
template<typename AssetType > |
AssetRef< AssetType > | shkyera::utils::assets::read (AssetComponent< AssetType > &assetComponent) |
|
template<typename AssetType > |
AssetRef< AssetType > | shkyera::utils::assets::read (Registry *registry, HandleAndAsset< AssetType > &handleAndAsset) |
|
template<typename AssetType , typename... Args> |
AssetRef< AssetType > | shkyera::utils::assets::read (const std::filesystem::path &path, Args &&... args) |
|
template<typename AssetType > |
AssetRef< AssetType > | shkyera::utils::assets::read (typename AssetType::Factory::Type type) |
|
template<typename AssetType > |
HandleAndAsset< AssetType > | shkyera::utils::assets::add (Registry *registry, std::unique_ptr< AssetLoader< AssetType > > loader) |
|
template<typename AssetType > |
HandleAndAsset< AssetType > | shkyera::utils::assets::add (Registry *registry, std::filesystem::path &&path) |
|
template<typename AssetType > |
HandleAndAsset< AssetType > | shkyera::utils::assets::add (Registry *registry, typename AssetType::Factory::Type type) |
|
template<typename AssetType , typename... Args> |
AssetRef< AssetType > | shkyera::utils::assets::readPermanent (const std::filesystem::path &path, Args &&... args) |
|
template<typename AssetType > |
AssetRef< AssetType > | shkyera::utils::assets::readPermanent (typename AssetType::Factory::Type type) |
|