KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C ABI · Editor / KroysAssetTypeDesc

KroysAssetTypeDesc

A plugin asset type (editor->RegisterAssetType): files with its extension in the Content Browser.

Kindstruct
Headerkroys/kroys_plugin.h
Members6
DECLARATION

Declaration

Declared in kroys/kroys_plugin.h.

kroys_plugin.h
typedef struct KroysAssetTypeDesc { ... } KroysAssetTypeDesc;
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.

field
#int32_t creatable;

listed under Create in the Content Browser

field
#const char* id;

Local id; the asset type id is "<plugin id>.<id>".

field
#const char* displayName;

Name in the Content Browser (Create menu, details).

field
#const char* extension;

".knote"

field
#const char* icon;

Lucide icon name.

field
Members
uint32_t structSize;
int32_t creatable;
const char* id;
const char* displayName;
const char* extension;
const char* icon;

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.