vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
missing_assets.h
1#pragma once
2
3#include <string>
4#include <vector>
5
6#include "resource/asset_type.h"
7
8namespace Vkm::Engine {
9
17 std::string component;
18 std::string field;
19 std::string name;
20 AssetType type = AssetType::Count;
21};
22
33 std::vector<MissingAssetRef> refs;
34};
35
36} // namespace Vkm::Engine
One asset reference a scene load could not resolve.
Definition missing_assets.h:16
std::string component
Scene-format component key, e.g. "Mesh".
Definition missing_assets.h:17
std::string field
Key inside that component's block, e.g. "material".
Definition missing_assets.h:18
AssetType type
Kind it was looked up as.
Definition missing_assets.h:20
std::string name
The asset name the file gave.
Definition missing_assets.h:19
The references on one entity that the load could not resolve, kept so a later save writes them back r...
Definition missing_assets.h:32