Kohi Game Engine
|
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... | |
Represents the configuration for a geometry.
vec3 center |
u32 index_count |
The number of indices.
u32 index_size |
The size of each index.
void* indices |
An array of indices.
char material_name[MATERIAL_NAME_MAX_LENGTH] |
The name of the material used by the geometry.
vec3 max_extents |
vec3 min_extents |
char name[GEOMETRY_NAME_MAX_LENGTH] |
The name of the geometry.
u32 vertex_count |
The number of vertices.
u32 vertex_size |
The size of each vertex.
void* vertices |
An array of vertices.