Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Assets::AssetManager Class Reference

Public Member Functions

 AssetManager (AssetLoader *assetLoader)
void ReloadQueuedAssets ()
virtual AssetImporterGetManager (AssetType assetType)
template<typename AssetImporterClass>
AssetImporterClass * GetManager ()
virtual void QueueReloadAsset (AssetType assetType, Uuid uuid)
virtual void * GetAssetByUuid (AssetType assetType, Uuid uuid)
virtual Grindstone::Uuid GetUuidByAddress (AssetType assetType, std::string_view address)
virtual AssetLoadBinaryResult LoadBinaryByUuid (AssetType assetType, Uuid uuid)
virtual AssetLoadTextResult LoadTextByUuid (AssetType assetType, Uuid uuid)
virtual const std::string & GetTypeName (AssetType assetType) const
virtual void * GetAndIncrementAssetCount (Grindstone::AssetType assetType, Grindstone::Uuid uuid)
virtual void IncrementAssetCount (Grindstone::AssetType assetType, Grindstone::Uuid uuid)
virtual void DecrementAssetCount (Grindstone::AssetType assetType, Grindstone::Uuid uuid)
template<typename AssetImporterClass>
void RegisterAssetType ()
template<typename T>
Grindstone::AssetReference< T > GetAssetReferenceByUuid (Grindstone::Uuid uuid)
template<typename T>
Grindstone::AssetReference< T > GetAssetReferenceByAddress (std::string_view address)
template<typename T>
T * GetAssetByUuid (Uuid uuid)
virtual void RegisterAssetType (AssetType assetType, const char *typeName, AssetImporter *importer)
virtual void UnregisterAssetType (AssetType assetType)

The documentation for this class was generated from the following files:
  • /github/workspace/sources/code/EngineCore/Assets/AssetManager.hpp
  • /github/workspace/sources/code/EngineCore/Assets/AssetManager.cpp