1 #ifndef _KOHI_PLUGIN_SYSTEM_H_
2 #define _KOHI_PLUGIN_SYSTEM_H_
15 struct plugin_system_state;
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
_Bool b8
8-bit boolean type
Definition: defines.h:58
unsigned short u16
Unsigned 16-bit integer.
Definition: defines.h:22
unsigned long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
This file contains the parser implementation for the KSON (Kohi Storage Object Notation) file format.
struct plugin_system_plugin_config plugin_system_plugin_config
b8 plugin_system_render_plugins(struct plugin_system_state *state, struct frame_data *p_frame_data)
b8 plugin_system_on_window_resize_plugins(struct plugin_system_state *state, struct kwindow *window, u16 width, u16 height)
b8 plugin_system_frame_prepare_plugins(struct plugin_system_state *state, struct frame_data *p_frame_data)
b8 plugin_system_initialize_plugins(struct plugin_system_state *state)
b8 plugin_system_update_plugins(struct plugin_system_state *state, struct frame_data *p_frame_data)
void plugin_system_shutdown(struct plugin_system_state *state)
b8 plugin_system_intialize(u64 *memory_requirement, struct plugin_system_state *state, struct plugin_system_config *config)
b8 plugin_system_deserialize_config(const char *config_str, plugin_system_config *out_config)
struct plugin_system_config plugin_system_config
KAPI b8 plugin_system_load_plugin(struct plugin_system_state *state, const char *name, const char *config)
KAPI kruntime_plugin * plugin_system_get(struct plugin_system_state *state, const char *name)
Engine-level current frame-specific data.
Definition: frame_data.h:11
Definition: plugin_types.h:33
Represents a window in the application.
Definition: platform.h:69
u16 height
The height of the window in pixels.
Definition: platform.h:78
u16 width
The width of the window in pixels.
Definition: platform.h:76
const char * name
The internal name of the window.
Definition: platform.h:71
Definition: plugin_system.h:27
plugin_system_plugin_config * plugins
Definition: plugin_system.h:29
Definition: plugin_system.h:17
const char * config_str
Definition: plugin_system.h:21
const char * name
Definition: plugin_system.h:19