|
Kohi Game Engine
|
#include <assets/kasset_types.h>#include <defines.h>#include <identifiers/identifier.h>#include <math/math_types.h>#include <strings/kname.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_chunk_lod |
| struct | terrain_chunk |
| struct | terrain |
Typedefs | |
| typedef struct terrain_vertex | terrain_vertex |
| typedef struct terrain_vertex_data | terrain_vertex_data |
| typedef struct terrain_chunk_lod | terrain_chunk_lod |
| typedef struct terrain_chunk | terrain_chunk |
| typedef enum terrain_state | terrain_state |
| typedef struct terrain | terrain |
Enumerations | |
| enum | terrain_state { TERRAIN_STATE_UNDEFINED , TERRAIN_STATE_CREATED , TERRAIN_STATE_INITIALIZED , TERRAIN_STATE_LOADING , TERRAIN_STATE_LOADED } |
Functions | |
| KAPI b8 | terrain_create (kasset_heightmap_terrain *asset, terrain *out_terrain) |
| KAPI void | terrain_destroy (terrain *t) |
| KAPI b8 | terrain_initialize (terrain *t) |
| KAPI b8 | terrain_load (terrain *t) |
| KAPI b8 | terrain_chunk_load (terrain *t, terrain_chunk *chunk) |
| KAPI b8 | terrain_unload (terrain *t) |
| KAPI b8 | terrain_chunk_unload (terrain *t, terrain_chunk *chunk) |
| KAPI b8 | terrain_update (terrain *t) |
| KAPI void | terrain_geometry_generate_normals (u32 vertex_count, struct terrain_vertex *vertices, u32 index_count, u32 *indices) |
| KAPI void | terrain_geometry_generate_tangents (u32 vertex_count, struct terrain_vertex *vertices, u32 index_count, u32 *indices) |
| typedef struct terrain_chunk terrain_chunk |
| typedef struct terrain_chunk_lod terrain_chunk_lod |
| typedef enum terrain_state terrain_state |
| typedef struct terrain_vertex terrain_vertex |
| typedef struct terrain_vertex_data terrain_vertex_data |
| enum terrain_state |
| KAPI b8 terrain_chunk_load | ( | terrain * | t, |
| terrain_chunk * | chunk | ||
| ) |
| KAPI b8 terrain_chunk_unload | ( | terrain * | t, |
| terrain_chunk * | chunk | ||
| ) |
| KAPI b8 terrain_create | ( | kasset_heightmap_terrain * | asset, |
| terrain * | out_terrain | ||
| ) |
| KAPI void terrain_geometry_generate_normals | ( | u32 | vertex_count, |
| struct terrain_vertex * | vertices, | ||
| u32 | index_count, | ||
| u32 * | indices | ||
| ) |
| KAPI void terrain_geometry_generate_tangents | ( | u32 | vertex_count, |
| struct terrain_vertex * | vertices, | ||
| u32 | index_count, | ||
| u32 * | indices | ||
| ) |