AssetDatabase class
#include <Editor/Public/AssetDatabase.h>
Public functions
- void Initialize(const char* contentRoot)
- void Reconcile()
- auto Save() const -> bool
- auto Load() -> bool
- auto GetEntries() const -> const std::vector<AssetDatabaseEntry>&
- auto FindByID(AssetID id) const -> const AssetDatabaseEntry*
- auto FindByPath(const std::string& relativePath) const -> const AssetDatabaseEntry*
- auto Rename(AssetID id, const std::string& newName) -> bool
- Rename an asset's display name. Updates database and runtime registry.
- auto Remove(AssetID id) -> bool
- Remove an asset from the database, delete its sidecar, and unregister it from the runtime registry.