MeshLib Documentation
Loading...
Searching...
No Matches
MRMeshSave.h File Reference
#include "MRMeshFwd.h"

Go to the source code of this file.

Functions

MR_EXTERN_C_BEGIN MRMESHC_API void mrMeshSaveToAnySupportedFormat (const MRMesh *mesh, const char *file, MRString **errorStr)
 

Function Documentation

◆ mrMeshSaveToAnySupportedFormat()

MR_EXTERN_C_BEGIN MRMESHC_API void mrMeshSaveToAnySupportedFormat ( const MRMesh * mesh,
const char * file,
MRString ** errorStr )

detects the format from file extension and saves mesh to it if an error has occurred and errorStr is not NULL, returns NULL and allocates an error message to errorStr