Kohi Game Engine
testbed_main.h
Go to the documentation of this file.
1 #pragma once
2 #include <defines.h>
3 
4 struct application;
5 struct frame_data;
6 struct kwindow;
7 
9 
10 KAPI b8 application_boot(struct application* game_inst);
11 
13 
14 KAPI b8 application_update(struct application* game_inst, struct frame_data* p_frame_data);
15 
16 KAPI b8 application_prepare_frame(struct application* app_inst, struct frame_data* p_frame_data);
17 
18 KAPI b8 application_render_frame(struct application* game_inst, struct frame_data* p_frame_data);
19 
20 KAPI void application_on_window_resize(struct application* game_inst, const struct kwindow* window);
21 
22 KAPI void application_shutdown(struct application* game_inst);
23 
24 KAPI void application_lib_on_unload(struct application* game_inst);
25 
26 KAPI void application_lib_on_load(struct application* game_inst);
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 long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
Represents the basic application state in a application. Called for creation by the application.
Definition: application_types.h:46
Engine-level current frame-specific data.
Definition: frame_data.h:11
Represents a window in the application.
Definition: platform.h:69
KAPI b8 application_render_frame(struct application *game_inst, struct frame_data *p_frame_data)
KAPI void application_shutdown(struct application *game_inst)
KAPI u64 application_state_size(void)
KAPI void application_lib_on_load(struct application *game_inst)
KAPI void application_on_window_resize(struct application *game_inst, const struct kwindow *window)
KAPI b8 application_initialize(struct application *game_inst)
KAPI b8 application_prepare_frame(struct application *app_inst, struct frame_data *p_frame_data)
KAPI b8 application_boot(struct application *game_inst)
KAPI void application_lib_on_unload(struct application *game_inst)
KAPI b8 application_update(struct application *game_inst, struct frame_data *p_frame_data)