KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C++ layer · Registration options / kroys::AssetTypeOptions

kroys::AssetTypeOptions

Options of Host::AddAssetType (KroysAssetTypeDesc).

Kindstruct
Headerkroys/plugin.hpp
Members5
DECLARATION

Declaration

Declared in kroys/plugin.hpp.

plugin.hpp
struct AssetTypeOptions
REFERENCE

Members

Fields
#std::string id;

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

#std::string displayName;

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

#std::string extension;

".knote"

#std::string icon;

Lucide icon name.

#bool creatable = true;

listed under Create in the Content Browser

Signatures
std::string id;
std::string displayName;
std::string extension;
std::string icon;
bool creatable = true;

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