Kohi Game Engine
skybox.h File Reference

Go to the source code of this file.

Data Structures

struct  skybox_config
 
struct  skybox
 

Typedefs

typedef struct skybox_config skybox_config
 
typedef struct skybox skybox
 

Functions

KAPI b8 skybox_create (skybox_config config, skybox *out_skybox)
 Attempts to create a skybox using the specified parameters. More...
 
KAPI b8 skybox_initialize (skybox *sb)
 
KAPI b8 skybox_load (skybox *sb)
 
KAPI b8 skybox_unload (skybox *sb)
 
KAPI void skybox_destroy (skybox *sb)
 Destroys the provided skybox. More...
 

Typedef Documentation

◆ skybox

typedef struct skybox skybox

◆ skybox_config

typedef struct skybox_config skybox_config

Function Documentation

◆ skybox_create()

KAPI b8 skybox_create ( skybox_config  config,
skybox out_skybox 
)

Attempts to create a skybox using the specified parameters.

Parameters
configThe configuration to be used when creating the skybox.
out_skyboxA pointer to hold the newly-created skybox.
Returns
True on success; otherwise false.

◆ skybox_destroy()

KAPI void skybox_destroy ( skybox sb)

Destroys the provided skybox.

Parameters
sbA pointer to the skybox to be destroyed.

◆ skybox_initialize()

KAPI b8 skybox_initialize ( skybox sb)

◆ skybox_load()

KAPI b8 skybox_load ( skybox sb)

◆ skybox_unload()

KAPI b8 skybox_unload ( skybox sb)