vkmEngine 1.0.15
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::MissingAssetRef Struct Reference

One asset reference a scene load could not resolve. More...

#include <missing_assets.h>

Public Attributes

std::string component
std::string field
std::string name
 The asset name the file gave.
AssetType type = AssetType::Count
 Kind it was looked up as.

Detailed Description

One asset reference a scene load could not resolve.

Addressed by component and field path, as the scene file addresses it, because that is where a save puts it back.

Member Data Documentation

◆ component

std::string Vkm::Engine::MissingAssetRef::component

Scene-format component key, e.g. "Mesh".

◆ field

std::string Vkm::Engine::MissingAssetRef::field

Path inside that component's block, its steps joined by dots: "material", or "levels.2.mesh" for a name inside a list (ReflectJson::childPath).


The documentation for this struct was generated from the following file: