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

An item inside a parent asset, such as a sprite frame or a LOD level. More...

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

Public Attributes

std::string guid
std::string parentGuid
int subAssetIndex
std::string name
int depth = 0
std::string cachePath
bool hasPreview = false
int frameId = -1

Detailed Description

An item inside a parent asset, such as a sprite frame or a LOD level.

Sub- assets are metadata only; unless cachePath is set they share the parent's cache file. Type-specific data (e.g. sprite coordinates) lives in type-specific registries.

Member Data Documentation

◆ guid

std::string DekiEditor::SubAssetInfo::guid

◆ parentGuid

std::string DekiEditor::SubAssetInfo::parentGuid

◆ subAssetIndex

int DekiEditor::SubAssetInfo::subAssetIndex

◆ name

std::string DekiEditor::SubAssetInfo::name

◆ depth

int DekiEditor::SubAssetInfo::depth = 0

◆ cachePath

std::string DekiEditor::SubAssetInfo::cachePath

◆ hasPreview

bool DekiEditor::SubAssetInfo::hasPreview = false

◆ frameId

int DekiEditor::SubAssetInfo::frameId = -1

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