Assimp  v4.1. (December 2018)
AssimpCExport.cpp File Reference

Functions

ASSIMP_API void aiCopyScene (const aiScene *pIn, aiScene **pOut)
 
ASSIMP_API aiReturn aiExportScene (const aiScene *pScene, const char *pFormatId, const char *pFileName, unsigned int pPreprocessing)
 
ASSIMP_API aiReturn aiExportSceneEx (const aiScene *pScene, const char *pFormatId, const char *pFileName, aiFileIO *pIO, unsigned int pPreprocessing)
 
const ASSIMP_API C_STRUCT aiExportDataBlobaiExportSceneToBlob (const aiScene *pScene, const char *pFormatId, unsigned int pPreprocessing)
 
ASSIMP_API void aiFreeScene (const C_STRUCT aiScene *pIn)
 Frees a scene copy created using aiCopyScene() More...
 
ASSIMP_API size_t aiGetExportFormatCount (void)
 Returns the number of export file formats available in the current Assimp build. More...
 
const ASSIMP_API aiExportFormatDescaiGetExportFormatDescription (size_t index)
 Returns a description of the nth export file format. More...
 
ASSIMP_API C_STRUCT void aiReleaseExportBlob (const aiExportDataBlob *pData)
 
ASSIMP_API void aiReleaseExportFormatDescription (const aiExportFormatDesc *desc)
 

Detailed Description

Assimp C export interface. See Exporter.cpp for some notes.

Function Documentation

◆ aiCopyScene()

ASSIMP_API void aiCopyScene ( const aiScene pIn,
aiScene **  pOut 
)

◆ aiExportScene()

ASSIMP_API aiReturn aiExportScene ( const aiScene pScene,
const char *  pFormatId,
const char *  pFileName,
unsigned int  pPreprocessing 
)

◆ aiExportSceneEx()

ASSIMP_API aiReturn aiExportSceneEx ( const aiScene pScene,
const char *  pFormatId,
const char *  pFileName,
aiFileIO pIO,
unsigned int  pPreprocessing 
)

◆ aiExportSceneToBlob()

const ASSIMP_API C_STRUCT aiExportDataBlob* aiExportSceneToBlob ( const aiScene pScene,
const char *  pFormatId,
unsigned int  pPreprocessing 
)

◆ aiFreeScene()

ASSIMP_API void aiFreeScene ( const C_STRUCT aiScene pIn)

Frees a scene copy created using aiCopyScene()

◆ aiGetExportFormatCount()

ASSIMP_API size_t aiGetExportFormatCount ( void  )

Returns the number of export file formats available in the current Assimp build.

Use aiGetExportFormatDescription() to retrieve infos of a specific export format.

◆ aiGetExportFormatDescription()

const ASSIMP_API aiExportFormatDesc* aiGetExportFormatDescription ( size_t  pIndex)

Returns a description of the nth export file format.

Use aiGetExportFormatCount() to learn how many export formats are supported. The description must be released by calling aiReleaseExportFormatDescription afterwards.

Parameters
pIndexIndex of the export format to retrieve information for. Valid range is 0 to aiGetExportFormatCount()
Returns
A description of that specific export format. NULL if pIndex is out of range.

◆ aiReleaseExportBlob()

ASSIMP_API C_STRUCT void aiReleaseExportBlob ( const aiExportDataBlob pData)

◆ aiReleaseExportFormatDescription()

ASSIMP_API void aiReleaseExportFormatDescription ( const aiExportFormatDesc desc)