My Project
|
this class is used for importing and exporting ParaX model from or to memory files. More...
#include <ParaXSerializer.h>
Public Member Functions | |
CParaXSerializer (void) | |
CParaXSerializer //. | |
const byte * | GetRawData (int nOffset) const |
get the raw data pointer at the specified offset. More... | |
void * | LoadParaXMesh (CParaFile &f) |
load an existing mesh at one time. More... | |
Static Public Member Functions | |
static void | ExportParaXMesh (const string &filePath, CParaXModel *pMesh) |
Static Public Attributes | |
static SerializerOptions | g_pDefaultOption |
default option | |
this class is used for importing and exporting ParaX model from or to memory files.
currently, it supports ParaX and M2 file importing and ParaX file exporting.
|
inline |
get the raw data pointer at the specified offset.
return NULL if raw data is not available
void * CParaXSerializer::LoadParaXMesh | ( | CParaFile & | f | ) |
load an existing mesh at one time.
To selectively parse file, use LoadParaX_XXX() functions.
f | file to be saved to. |