Fling::Guid_Handle GetGuidHandle() const
Get GUID handle (just an int) for this resources guid.
Definition: Resource.h:28
std::string GetFilepathReleativeToAssets() const
Returns the full file path that is relative to the assets path based on the GUID of this resource...
Definition: Resource.cpp:6
Resource(Fling::Guid t_ID)
Definition: Resource.h:16
Base class that represents a loaded resource in the engine.
Definition: Resource.h:11
entt::hashed_string::hash_type Guid_Handle
Definition: FlingTypes.h:22
Fling::Guid m_Guid
Definition: Resource.h:44
entt::hashed_string Guid
Definition: FlingTypes.h:21
std::string GetGuidString() const
Get the human-readable string representation of this GUID.
Definition: Resource.h:35
The resource manager handles loading of files off disk.
Definition: ResourceManager.h:23
virtual ~Resource()=default