#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
u64 kname
A kname is a string hash made for quick comparisons versus traditional string comparisons.
Definition: kname.h:36
u16 ktexture
Represents a texture to be used for rendering purposes, stored on the GPU (VRAM)
Definition: kresource_types.h:45
KAPI b8 skybox_initialize(skybox *sb)
KAPI b8 skybox_create(skybox_config config, skybox *out_skybox)
Attempts to create a skybox using the specified parameters.
skybox_state
Definition: skybox.h:11
@ SKYBOX_STATE_LOADED
Definition: skybox.h:16
@ SKYBOX_STATE_INITIALIZED
Definition: skybox.h:14
@ SKYBOX_STATE_UNDEFINED
Definition: skybox.h:12
@ SKYBOX_STATE_LOADING
Definition: skybox.h:15
@ SKYBOX_STATE_CREATED
Definition: skybox.h:13
KAPI void skybox_destroy(skybox *sb)
Destroys the provided skybox.
KAPI b8 skybox_load(skybox *sb)
struct skybox_config skybox_config
KAPI b8 skybox_unload(skybox *sb)
Represents geometry to be used for various purposes (rendering objects in the world,...
Definition: geometry.h:38
kname cubemap_name
The name of the cubemap to be used for the skybox.
Definition: skybox.h:8
u32 group_id
Definition: skybox.h:26
kname cubemap_name
Definition: skybox.h:22
skybox_state state
Definition: skybox.h:20
u32 draw_id
Definition: skybox.h:27
kgeometry geometry
Definition: skybox.h:25
ktexture cubemap
Definition: skybox.h:23