|
@@ -95,16 +95,22 @@ ASSIMP_API const C_STRUCT aiExportFormatDesc* aiGetExportFormatDescription( size
|
|
|
|
|
|
|
|
|
// --------------------------------------------------------------------------------
|
|
|
-/** Create a modifyable copy of a scene.
|
|
|
+/** Create a modifiable copy of a scene.
|
|
|
* This is useful to import files via Assimp, change their topology and
|
|
|
* export them again. Since the scene returned by the various importer functions
|
|
|
- * is const, a modifyable copy is needed.
|
|
|
+ * is const, a modifiable copy is needed.
|
|
|
* @param pIn Valid scene to be copied
|
|
|
- * @param pOut Receives a modifyable copy of the scene.
|
|
|
+ * @param pOut Receives a modifyable copy of the scene. Use aiFreeScene() to
|
|
|
+ * delete it again.
|
|
|
*/
|
|
|
ASSIMP_API void aiCopyScene(const C_STRUCT aiScene* pIn,
|
|
|
C_STRUCT aiScene** pOut);
|
|
|
|
|
|
+
|
|
|
+// --------------------------------------------------------------------------------
|
|
|
+/** Frees a scene copy created using aiCopyScene() */
|
|
|
+ASSIMP_API void aiFreeScene(const C_STRUCT aiScene* pIn);
|
|
|
+
|
|
|
// --------------------------------------------------------------------------------
|
|
|
/** Exports the given scene to a chosen file format and writes the result file(s) to disk.
|
|
|
* @param pScene The scene to export. Stays in possession of the caller, is not changed by the function.
|