MeshLib C Docs
Loading...
Searching...
No Matches
MRMisonLoad.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_expected_MR_LoadedObjectT_std_string MR_expected_MR_LoadedObjectT_std_string
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_istream MR_std_istream
 

Functions

MRC_API MR_expected_MR_LoadedObjectT_std_stringMR_fromSceneMison_std_filesystem_path (const char *path, const char *path_end, const MR_std_function_bool_from_float *callback)
 
MRC_API MR_expected_MR_LoadedObjectT_std_stringMR_fromSceneMison_std_istream (MR_std_istream *in, const MR_std_function_bool_from_float *callback)
 

Typedef Documentation

◆ MR_expected_MR_LoadedObjectT_std_string

◆ MR_std_function_bool_from_float

◆ MR_std_istream

Function Documentation

◆ MR_fromSceneMison_std_filesystem_path()

MRC_API MR_expected_MR_LoadedObjectT_std_string * MR_fromSceneMison_std_filesystem_path ( const char * path,
const char * path_end,
const MR_std_function_bool_from_float * callback )

load scene from MISON file
JSON file with array named "Objects" or root array:
element fields:
"Filename" : required full path to file for loading object "XF": optional xf for loaded object "Name": optional name for loaded object Generated from function MR::fromSceneMison. Parameter path is a UTF-8 encoded filesystem path. Parameter callback is a single object. Parameter callback has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_LoadedObjectT_std_string_Destroy() to free it when you're done using it.

◆ MR_fromSceneMison_std_istream()

MRC_API MR_expected_MR_LoadedObjectT_std_string * MR_fromSceneMison_std_istream ( MR_std_istream * in,
const MR_std_function_bool_from_float * callback )

Generated from function MR::fromSceneMison. Parameter in can not be null. It is a single object. Parameter callback is a single object. Parameter callback has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_LoadedObjectT_std_string_Destroy() to free it when you're done using it.