Kohi Game Engine
geometry_config Struct Reference

Represents the configuration for a geometry. More...

#include <geometry_system.h>

Data Fields

u32 vertex_size
 The size of each vertex. More...
 
u32 vertex_count
 The number of vertices. More...
 
void * vertices
 An array of vertices. More...
 
u32 index_size
 The size of each index. More...
 
u32 index_count
 The number of indices. More...
 
void * indices
 An array of indices. More...
 
vec3 center
 
vec3 min_extents
 
vec3 max_extents
 
char name [GEOMETRY_NAME_MAX_LENGTH]
 The name of the geometry. More...
 
char material_name [MATERIAL_NAME_MAX_LENGTH]
 The name of the material used by the geometry. More...
 

Detailed Description

Represents the configuration for a geometry.

Field Documentation

◆ center

vec3 center

◆ index_count

u32 index_count

The number of indices.

◆ index_size

u32 index_size

The size of each index.

◆ indices

void* indices

An array of indices.

◆ material_name

char material_name[MATERIAL_NAME_MAX_LENGTH]

The name of the material used by the geometry.

◆ max_extents

vec3 max_extents

◆ min_extents

vec3 min_extents

◆ name

The name of the geometry.

◆ vertex_count

u32 vertex_count

The number of vertices.

◆ vertex_size

u32 vertex_size

The size of each vertex.

◆ vertices

void* vertices

An array of vertices.


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