Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
BaseAssetRegistry.hpp
1
#pragma once
2
3
#include <Common/Filepath.h>
4
#include <Common/String.h>
5
#include <Common/ResourcePipeline/AssetType.h>
6
7
namespace
Grindstone::Assets {
8
class
AssetRegistry
{
9
public
:
10
struct
Entry
{
11
Uuid
uuid;
12
StringRef name;
13
Filepath path;
14
AssetType assetType;
15
};
16
17
virtual
bool
HasAsset(
Uuid
uuid)
override
;
18
virtual
bool
TryGetAssetData(
Uuid
uuid,
AssetRegistry::Entry
& outEntry)
override
;
19
};
20
}
Grindstone::Assets::AssetRegistry
Definition
BaseAssetRegistry.hpp:8
Grindstone::Uuid
Definition
Uuid.hpp:6
Grindstone::Assets::AssetRegistry::Entry
Definition
BaseAssetRegistry.hpp:10
sources
code
Common
Assets
BaseAssetRegistry.hpp
Generated by
1.12.0