C/C++ SDK / C ABI · Assets / KroysAssetInfo
KroysAssetInfo
One asset of the asset database (assets->GetAssetInfo, 2.2). Set structSize before the call; the strings are host strings, valid until the next host call on the thread.
Kindstruct
Headerkroys/kroys_plugin.h
Members7
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysAssetInfo { ... } KroysAssetInfo;
REFERENCE
Members
Fields
#uint32_t structSize;Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.
#uint32_t reserved;Padding reserved for later use; leave it 0.
#KroysGuid guid;The asset's persistent GUID.
#const char* type;"Mesh", "Material", "Texture", "Prefab", "Scene", ... "Unknown"
#const char* path;Content-relative source path ('/' separators); sub-assets: the source.
#const char* name;Display name (file stem, or the sub-asset's name).
#const char* subKey;Sub-asset key inside the source ("" for the source itself).
Members
uint32_t structSize; uint32_t reserved; KroysGuid guid; const char* type; const char* path; const char* name; const char* subKey;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.