trimeshloader
1.0.0
Flexible ANSI C trimeshloader 3DS/OBJ
|
Structure describing an Trimesh (index triangle list) containing objects, vertices (point, texture coordinate and normal) and triangle indices. More...
#include <trimeshloader.h>
Data Fields | |
float * | vertices |
pointer to the vertex data More... | |
unsigned int | vertex_count |
number of vertices More... | |
unsigned int | vertex_format |
format of the vertices More... | |
unsigned int | vertex_size |
size/stride of each vertex, in bytes More... | |
unsigned short * | faces |
pointer to the face (triangle) indices (3 unsigned shorts) More... | |
unsigned int | face_count |
number of faces More... | |
tlObject * | objects |
list of objects in this trimesh More... | |
unsigned int | object_count |
number of objects More... | |
tlMaterial * | materials |
list of materials in this trimesh More... | |
unsigned int | material_count |
number of materials More... | |
tlMaterialReference * | material_references |
list of references to materials in this trimesh More... | |
unsigned int | material_reference_count |
number of references to materials More... | |
Structure describing an Trimesh (index triangle list) containing objects, vertices (point, texture coordinate and normal) and triangle indices.
unsigned int tlTrimesh::face_count |
number of faces
unsigned short* tlTrimesh::faces |
pointer to the face (triangle) indices (3 unsigned shorts)
unsigned int tlTrimesh::material_count |
number of materials
unsigned int tlTrimesh::material_reference_count |
number of references to materials
tlMaterialReference* tlTrimesh::material_references |
list of references to materials in this trimesh
tlMaterial* tlTrimesh::materials |
list of materials in this trimesh
unsigned int tlTrimesh::object_count |
number of objects
tlObject* tlTrimesh::objects |
list of objects in this trimesh
unsigned int tlTrimesh::vertex_count |
number of vertices
unsigned int tlTrimesh::vertex_format |
format of the vertices
unsigned int tlTrimesh::vertex_size |
size/stride of each vertex, in bytes
float* tlTrimesh::vertices |
pointer to the vertex data