![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
One row of the manifest: an asset's identity, and what it was cooked from. More...
#include <asset_library.h>
Public Attributes | |
| uint64_t | recipeHash = 0 |
| What the cooked file was last baked from: the recipe, its source art's bytes, and the recorded key of any asset it derives from. | |
| std::vector< std::string > | sources |
| The source-art files the cook read and folded into recipeHash, as project references (AssetCooker::sourceFiles). | |
One row of the manifest: an asset's identity, and what it was cooked from.
The identity is (type, name) alone; where its files sit is derived from it, so a record names no paths.
| uint64_t Vkm::Engine::AssetRecord::recipeHash = 0 |
What the cooked file was last baked from: the recipe, its source art's bytes, and the recorded key of any asset it derives from.
Not the cooker or the layout: AssetCook::cacheKey adds those when it names the file.
| std::vector<std::string> Vkm::Engine::AssetRecord::sources |
The source-art files the cook read and folded into recipeHash, as project references (AssetCooker::sourceFiles).
Recorded so the cook that hashes them is their one owner (see import_sources in tools/vkmcli/package.py).