28 Asset(
Uuid uuid, std::string_view name) : uuid(uuid), name(name) {}
32 size_t referenceCount = 1;
33 AssetLoadStatus assetLoadStatus = AssetLoadStatus::Unloaded;
35 static AssetType GetStaticType() {
return AssetType::Undefined; }
36 virtual AssetType GetAssetType()
const {
return GetStaticType(); }
38 virtual bool operator==(
const Asset& other)
const {
39 return uuid == other.uuid;
42 virtual bool operator!=(
const Asset& other)
const {
43 return !(*
this == other);