DEKI/ENGINE docs
Deki 0.19.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
DekiEditor::AssetData Struct Reference

What an asset's .data sidecar file holds: its GUID and its import settings as JSON, keyed by type name. More...

#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/AssetData.h>

Public Attributes

std::string guid
nlohmann::json settings

Detailed Description

What an asset's .data sidecar file holds: its GUID and its import settings as JSON, keyed by type name.

Editor only; a game build bakes the settings into the compiled asset headers.

Example: { "guid": "abc-123-xyz", "settings": { "sprite": { "frameWidth": 55, "frameHeight": 48 } }, "audio": { "volume": 0.8, "loop": true } }

Member Data Documentation

◆ guid

std::string DekiEditor::AssetData::guid

◆ settings

nlohmann::json DekiEditor::AssetData::settings

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