GLUS
|
#include "GL/glus.h"
Macros | |
#define | GLUS_MAX_BINARYILE_LENGTH 2147483647 |
Functions | |
GLUSboolean | _glusFileCheckRead (FILE *f, size_t actualRead, size_t expectedRead) |
GLUSboolean | _glusFileCheckWrite (FILE *f, size_t actualWrite, size_t expectedWrite) |
GLUSboolean GLUSAPIENTRY | glusFileLoadBinary (const GLUSchar *filename, GLUSbinaryfile *binaryfile) |
Loads a binary file. More... | |
GLUSboolean GLUSAPIENTRY | glusFileSaveBinary (const GLUSchar *filename, const GLUSbinaryfile *binaryfile) |
Saves a binary file. More... | |
GLUSvoid GLUSAPIENTRY | glusFileDestroyBinary (GLUSbinaryfile *binaryfile) |
Destroys the content of a binary structure. More... | |
#define GLUS_MAX_BINARYILE_LENGTH 2147483647 |
GLUSboolean _glusFileCheckRead | ( | FILE * | f, |
size_t | actualRead, | ||
size_t | expectedRead | ||
) |
GLUSboolean _glusFileCheckWrite | ( | FILE * | f, |
size_t | actualWrite, | ||
size_t | expectedWrite | ||
) |
GLUSvoid GLUSAPIENTRY glusFileDestroyBinary | ( | GLUSbinaryfile * | binaryfile | ) |
Destroys the content of a binary structure.
Has to be called for freeing the resources.
binaryfile | The binary file structure. |
GLUSboolean GLUSAPIENTRY glusFileLoadBinary | ( | const GLUSchar * | filename, |
GLUSbinaryfile * | binaryfile | ||
) |
Loads a binary file.
filename | The name of the file to load. |
binaryfile | The structure to fill the binary data. |
GLUSboolean GLUSAPIENTRY glusFileSaveBinary | ( | const GLUSchar * | filename, |
const GLUSbinaryfile * | binaryfile | ||
) |
Saves a binary file.
filename | The name of the file to save. |
binaryfile | The structure with the binary data. |