C/C++ SDK / C ABI · Host / KroysHost
KroysHost
Handed to KroysPlugin_Start: the target, the engine's SDK version, the context and the API tables. A null table is not available on this target.
Kindstruct
Headerkroys/kroys_plugin.h
Members13
DECLARATION
Declaration
Declared in kroys/kroys_plugin.h.
kroys_plugin.h
typedef struct KroysHost { ... } KroysHost;
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 target;KROYS_TARGET_EDITOR or KROYS_TARGET_RUNTIME for this Start
#KroysVersion sdkVersion;the engine's SDK version
#KroysContext context;first argument of every call
#const KroysCoreApi* core;Logging, settings, paths, component types (every target).
#const KroysSceneApi* scene;Scene access (every target).
#const KroysAssetApi* assets;Content files (every target).
#const KroysRuntimeApi* runtime;runtime target only
#const KroysEditorApi* editor;editor target only
#const KroysUiApi* ui;editor target only
#const KroysTaskApi* tasks;editor target only
#const KroysNetApi* net;editor target only
#const KroysViewportApi* viewport;editor target only
Members
uint32_t structSize; uint32_t target; KroysVersion sdkVersion; KroysContext context; const KroysCoreApi* core; const KroysSceneApi* scene; const KroysAssetApi* assets; const KroysRuntimeApi* runtime; const KroysEditorApi* editor; const KroysUiApi* ui; const KroysTaskApi* tasks; const KroysNetApi* net; const KroysViewportApi* viewport;
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.