10 #include <kiba/gpu/surface.h>
Central header providing allocator functionality.
Global typedefs and macros.
Central allocator structure.
KB_API b8 window_poll_events(platform_window *window)
Poll for events emited by the window.
KB_API b8 window_create(platform_window *window, const char *title, u32 x, u32 y, u32 w, u32 h, allocator *alloc)
Create a platform window.
struct platform_window platform_window
Structure holding information about a window.
KB_API void window_destroy(platform_window *window)
Destroy platform window and clean up internal state.