GLUS
|
Go to the source code of this file.
Data Structures | |
struct | _GLUSmaterial |
Structure for holding material data. More... | |
struct | _GLUSmaterialList |
Structure for holding material data list. More... | |
struct | _GLUSgroup |
Group of geometry. More... | |
struct | _GLUSgroupList |
Structure for holding the group data list. More... | |
struct | _GLUSwavefront |
Structure for a complete wavefront object file. More... | |
Typedefs | |
typedef struct _GLUSmaterial | GLUSmaterial |
Structure for holding material data. More... | |
typedef struct _GLUSmaterialList | GLUSmaterialList |
Structure for holding material data list. More... | |
typedef struct _GLUSgroup | GLUSgroup |
Group of geometry. More... | |
typedef struct _GLUSgroupList | GLUSgroupList |
Structure for holding the group data list. More... | |
typedef struct _GLUSwavefront | GLUSwavefront |
Structure for a complete wavefront object file. More... | |
Functions | |
GLUSAPI GLUSboolean GLUSAPIENTRY | glusWavefrontLoad (const GLUSchar *filename, GLUSwavefront *wavefront) |
Loads a wavefront object file with groups and materials. More... | |
GLUSAPI GLUSvoid GLUSAPIENTRY | glusWavefrontDestroy (GLUSwavefront *wavefront) |
Destroys the wavefront structure by freeing the allocated memory. More... | |
typedef struct _GLUSgroup GLUSgroup |
Group of geometry.
typedef struct _GLUSgroupList GLUSgroupList |
Structure for holding the group data list.
typedef struct _GLUSmaterial GLUSmaterial |
Structure for holding material data.
typedef struct _GLUSmaterialList GLUSmaterialList |
Structure for holding material data list.
typedef struct _GLUSwavefront GLUSwavefront |
Structure for a complete wavefront object file.
GLUSAPI GLUSvoid GLUSAPIENTRY glusWavefrontDestroy | ( | GLUSwavefront * | wavefront | ) |
Destroys the wavefront structure by freeing the allocated memory.
VBOs, VAOs and textures are not freed.
wavefront | The structure which contains the dynamic allocated wavefront data, which will be freed by this function. |
GLUSAPI GLUSboolean GLUSAPIENTRY glusWavefrontLoad | ( | const GLUSchar * | filename, |
GLUSwavefront * | wavefront | ||
) |
Loads a wavefront object file with groups and materials.
filename | The name of the wavefront file including extension. |
wavefront | The data is stored into this structure. |