KROYSDOCS
HomeWhat's newv0.1.0
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.

field
#uint32_t target;
field
#KroysVersion sdkVersion;

the engine's SDK version

field
#KroysContext context;

first argument of every call

field
#const KroysCoreApi* core;

Logging, settings, paths, component types (every target).

field
#const KroysSceneApi* scene;

Scene access (every target).

field
#const KroysAssetApi* assets;

Content files (every target).

field
#const KroysRuntimeApi* runtime;

runtime target only

field
#const KroysEditorApi* editor;

editor target only

field
#const KroysUiApi* ui;

editor target only

field
#const KroysTaskApi* tasks;

editor target only

field
#const KroysNetApi* net;

editor target only

field
#const KroysViewportApi* viewport;

editor target only

fieldsince 2.1
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.