GLUS
|
#include "GL/glus.h"
Macros | |
#define | GLUS_MAX_OBJECTS 1 |
#define | GLUS_MAX_ATTRIBUTES (GLUS_MAX_VERTICES/GLUS_VERTICES_DIVISOR) |
#define | GLUS_MAX_TRIANGLE_ATTRIBUTES GLUS_MAX_VERTICES |
#define | GLUS_BUFFERSIZE 1024 |
Functions | |
GLUSboolean | _glusWavefrontParse (const GLUSchar *filename, GLUSshape *shape, GLUSwavefront *wavefront) |
GLUSboolean GLUSAPIENTRY | glusWavefrontLoad (const GLUSchar *filename, GLUSwavefront *wavefront) |
Loads a wavefront object file with groups and materials. More... | |
GLUSvoid GLUSAPIENTRY | glusWavefrontDestroy (GLUSwavefront *wavefront) |
Destroys the wavefront structure by freeing the allocated memory. More... | |
#define GLUS_BUFFERSIZE 1024 |
#define GLUS_MAX_ATTRIBUTES (GLUS_MAX_VERTICES/GLUS_VERTICES_DIVISOR) |
#define GLUS_MAX_OBJECTS 1 |
#define GLUS_MAX_TRIANGLE_ATTRIBUTES GLUS_MAX_VERTICES |
GLUSboolean _glusWavefrontParse | ( | const GLUSchar * | filename, |
GLUSshape * | shape, | ||
GLUSwavefront * | wavefront | ||
) |
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. |
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. |