Kohi Game Engine
heightmap_terrain_chunk Struct Reference

#include <kheightmap_terrain.h>

Data Fields

u16 generation
 The chunk generation. Incremented every time the geometry changes. More...
 
u32 surface_vertex_count
 
u32 total_vertex_count
 
kheightmap_terrain_vertexvertices
 
u64 vertex_buffer_offset
 
heightmap_terrain_chunk_lodlods
 
vec3 center
 The center of the geometry in local coordinates. More...
 
extents_3d extents
 The extents of the geometry in local coordinates. More...
 
struct material * material
 A pointer to the material associated with this geometry. More...
 
u8 current_lod
 The current level of detail for this chunk. More...
 

Field Documentation

◆ center

vec3 center

The center of the geometry in local coordinates.

◆ current_lod

u8 current_lod

The current level of detail for this chunk.

◆ extents

extents_3d extents

The extents of the geometry in local coordinates.

◆ generation

u16 generation

The chunk generation. Incremented every time the geometry changes.

◆ lods

◆ material

struct material* material

A pointer to the material associated with this geometry.

◆ surface_vertex_count

u32 surface_vertex_count

◆ total_vertex_count

u32 total_vertex_count

◆ vertex_buffer_offset

u64 vertex_buffer_offset

◆ vertices


The documentation for this struct was generated from the following file: