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 
8 
9 KAPI b8 application_boot(struct application* game_inst);
10 
12 
13 KAPI b8 application_update(struct application* game_inst, struct frame_data* p_frame_data);
14 
15 KAPI b8 application_prepare_frame(struct application* app_inst, struct frame_data* p_frame_data);
16 
17 KAPI b8 application_render_frame(struct application* game_inst, struct frame_data* p_frame_data);
18 
19 KAPI void application_on_resize(struct application* game_inst, u32 width, u32 height);
20 
21 KAPI void application_shutdown(struct application* game_inst);
22 
23 KAPI void application_lib_on_unload(struct application* game_inst);
24 
25 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:177
unsigned int u32
Unsigned 32-bit integer.
Definition: defines.h:25
_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:42
Engine-level current frame-specific data.
Definition: frame_data.h:16
KAPI void application_on_resize(struct application *game_inst, u32 width, u32 height)
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 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)