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

Go to the source code of this file.

Functions

MR_EXTERN_C_BEGIN MRMESHC_API MRMeshmrMeshLoadFromAnySupportedFormat (const char *file, MRString **errorStr)
 

Function Documentation

◆ mrMeshLoadFromAnySupportedFormat()

MR_EXTERN_C_BEGIN MRMESHC_API MRMesh * mrMeshLoadFromAnySupportedFormat ( const char * file,
MRString ** errorStr )

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