46 #ifndef AI_EXPORT_H_INC 47 #define AI_EXPORT_H_INC 49 #ifndef ASSIMP_BUILD_NO_EXPORT 163 const char* pFormatId,
164 const char* pFileName,
165 unsigned int pPreprocessing);
184 const char* pFormatId,
185 const char* pFileName,
187 unsigned int pPreprocessing );
229 ~
aiExportDataBlob() {
delete []
static_cast<unsigned char*
>( data );
delete next; }
235 #endif // __cplusplus 262 #endif // ASSIMP_BUILD_NO_EXPORT 263 #endif // AI_EXPORT_H_INC ASSIMP_API const C_STRUCT aiExportFormatDesc * aiGetExportFormatDescription(size_t pIndex)
Returns a description of the nth export file format.
ASSIMP_API aiReturn aiExportScene(const C_STRUCT aiScene *pScene, const char *pFormatId, const char *pFileName, unsigned int pPreprocessing)
Exports the given scene to a chosen file format and writes the result file(s) to disk.
size_t size
Size of the data in bytes.
Definition: cexport.h:203
Basic data types and primitives, such as vectors or colors.
C-API: File system callbacks.
Definition: cfileio.h:78
ASSIMP_API void aiReleaseExportFormatDescription(const C_STRUCT aiExportFormatDesc *desc)
Release a description of the nth export file format.
ASSIMP_API size_t aiGetExportFormatCount(void)
Returns the number of export file formats available in the current Assimp build.
aiReturn
Standard return type for some library functions.
Definition: types.h:375
ASSIMP_API aiReturn aiExportSceneEx(const C_STRUCT aiScene *pScene, const char *pFormatId, const char *pFileName, C_STRUCT aiFileIO *pIO, unsigned int pPreprocessing)
Exports the given scene to a chosen file format using custom IO logic supplied by you...
ASSIMP_API void aiCopyScene(const C_STRUCT aiScene *pIn, C_STRUCT aiScene **pOut)
Create a modifiable copy of a scene.
void * data
The data.
Definition: cexport.h:206
Represents an UTF-8 string, zero byte terminated.
Definition: types.h:252
The root structure of the imported data.
Definition: scene.h:240
Describes a blob of exported scene data.
Definition: cexport.h:200
ASSIMP_API void aiFreeScene(const C_STRUCT aiScene *pIn)
Frees a scene copy created using aiCopyScene()
ASSIMP_API const C_STRUCT aiExportDataBlob * aiExportSceneToBlob(const C_STRUCT aiScene *pScene, const char *pFormatId, unsigned int pPreprocessing)
Exports the given scene to a chosen file format.
ASSIMP_API void aiReleaseExportBlob(const C_STRUCT aiExportDataBlob *pData)
Releases the memory associated with the given exported data.