Kohi Game Engine
terrain.h File Reference
#include "core/frame_data.h"
#include "defines.h"
#include "math/math_types.h"
#include "resources/resource_types.h"

Go to the source code of this file.

Data Structures

struct  terrain_vertex
 
struct  terrain_vertex_data
 
struct  terrain_config
 
struct  terrain
 

Typedefs

typedef struct terrain_vertex terrain_vertex
 
typedef struct terrain_vertex_data terrain_vertex_data
 
typedef struct terrain_config terrain_config
 
typedef struct terrain terrain
 

Functions

KAPI b8 terrain_create (const terrain_config *config, terrain *out_terrain)
 
KAPI void terrain_destroy (terrain *t)
 
KAPI b8 terrain_initialize (terrain *t)
 
KAPI b8 terrain_load (terrain *t)
 
KAPI b8 terrain_unload (terrain *t)
 
KAPI b8 terrain_update (terrain *t)
 

Typedef Documentation

◆ terrain

typedef struct terrain terrain

◆ terrain_config

◆ terrain_vertex

◆ terrain_vertex_data

Function Documentation

◆ terrain_create()

KAPI b8 terrain_create ( const terrain_config config,
terrain out_terrain 
)

◆ terrain_destroy()

KAPI void terrain_destroy ( terrain t)

◆ terrain_initialize()

KAPI b8 terrain_initialize ( terrain t)

◆ terrain_load()

KAPI b8 terrain_load ( terrain t)

◆ terrain_unload()

KAPI b8 terrain_unload ( terrain t)

◆ terrain_update()

KAPI b8 terrain_update ( terrain t)