diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 07:00:28 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 07:00:28 +0100 |
| commit | 1bc1cf8cd2c66bbae615a5ddba883b7cd55bd67f (patch) | |
| tree | 15d989e9ff31c1a691bfaa840f661f3eed92a6b2 /src/util | |
| parent | ef3839ac767057d80feb55aaaf3f4ededfe69e91 (diff) | |
feat(3d): Implement Blender export and binary scene loading pipeline
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/asset_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/asset_manager.h b/src/util/asset_manager.h index ed7f1aa..59bf7a0 100644 --- a/src/util/asset_manager.h +++ b/src/util/asset_manager.h @@ -24,3 +24,6 @@ struct AssetRecord { // - 'out_size' returns the original asset size (excluding the null terminator). const uint8_t* GetAsset(AssetId asset_id, size_t* out_size = nullptr); void DropAsset(AssetId asset_id, const uint8_t* asset); + +// Returns the AssetId for a given asset name, or AssetId::ASSET_LAST_ID if not found. +AssetId GetAssetIdByName(const char* name); |
