Base class that represents a loaded resource in the engine.
More...
#include <Resource.h>
Inherited by Fling::File, Fling::Image, Fling::JsonFile, and Fling::Model.
Base class that represents a loaded resource in the engine.
◆ Resource()
◆ ~Resource()
virtual Fling::Resource::~Resource |
( |
| ) |
|
|
virtualdefault |
◆ GetFilepathReleativeToAssets()
std::string Fling::Resource::GetFilepathReleativeToAssets |
( |
| ) |
const |
Returns the full file path that is relative to the assets path based on the GUID of this resource.
◆ GetGuidHandle()
Get GUID handle (just an int) for this resources guid.
Use this to pass around to different functions instead of the whole GUID
- Returns
- Fling::Guid_Handle
◆ GetGuidString()
std::string Fling::Resource::GetGuidString |
( |
| ) |
const |
|
inline |
Get the human-readable string representation of this GUID.
- Returns
- std::string
◆ ResourceManager
◆ m_Guid
The documentation for this class was generated from the following files: