This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
unsigned int u32
Unsigned 32-bit integer.
Definition: defines.h:25
_Bool b8
8-bit boolean type
Definition: defines.h:58
float f32
32-bit floating point number
Definition: defines.h:47
unsigned long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
A global handle system for Kohi. Handles are used to obtain various resources using a unique handle i...
A handle is a unique identifier used a system in the engine to avoid using raw pointers where possibl...
Definition: khandle.h:25
Definition: timeline_system.h:6
u32 dummy
Definition: timeline_system.h:7
KAPI void timeline_system_scale_set(khandle timeline, f32 scale)
KAPI f32 timeline_system_scale_get(khandle timeline)
KAPI void timeline_system_destroy(khandle timeline)
KAPI khandle timeline_system_create(f32 scale)
KAPI khandle timeline_system_get_engine(void)
KAPI f32 timeline_system_total_get(khandle timeline)
struct timeline_system_config timeline_system_config
KAPI khandle timeline_system_get_game(void)
KAPI f32 timeline_system_delta_get(khandle timeline)
b8 timeline_system_update(void *state, f32 engine_delta_time)
Updates the job system. Should happen once an update cycle.
b8 timeline_system_initialize(u64 *memory_requirement, void *memory, void *config)
Initializes the timeline system using the supplied configuration. NOTE: Call this twice,...
void timeline_system_shutdown(void *state)
Shuts down the timeline system.