Contents

class

SushiEngine::Database::AssetRegistry

Scans a project tree and keeps every tracked asset's id-to-path mapping.

Declared in
engine/asset/database/include/SushiEngine/database/asset_registry.hpp

See also

database/README.md

Public Methods

AssetRegistry

Constructs a registry rooted at a project directory.

rescan

Re-walks the project tree and rebuilds the id-to-path mapping from what is on disk right now.

resolve

Looks up a tracked asset's current path by its id.

id_for_path

Looks up a tracked asset's id by its current path.

ensure_id

Ensures a tracked file has a valid .meta and returns its id.