Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
AssetUtils.hpp File Reference
Include dependency graph for AssetUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shkyera::utils::assets::PathAssetLoader< AssetType >
 
class  shkyera::utils::assets::FactoryAssetLoader< AssetType >
 

Namespaces

namespace  shkyera
 
namespace  shkyera::utils
 
namespace  shkyera::utils::assets
 

Functions

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