MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectSave.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
11typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
12typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
13typedef struct MR_std_function_void_from_const_std_filesystem_path_ref MR_std_function_void_from_const_std_filesystem_path_ref; // Defined in `#include <MRCMisc/std_function_void_from_const_std_filesystem_path_ref.h>`.
14
15
23MRC_API MR_expected_void_std_string *MR_ObjectSave_toAnySupportedSceneFormat(const MR_Object *object, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback);
24
33MRC_API MR_expected_void_std_string *MR_ObjectSave_toAnySupportedFormat(const MR_Object *object, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback);
34
48MRC_API MR_expected_void_std_string *MR_serializeObjectTree_4(const MR_Object *object, const char *path, const char *path_end, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress, MR_PassBy preCompress_pass_by, MR_std_function_void_from_const_std_filesystem_path_ref *preCompress);
49
55MRC_API MR_expected_void_std_string *MR_serializeObjectTree_3(const MR_Object *object, const char *path, const char *path_end, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress);
56
57#ifdef __cplusplus
58} // extern "C"
59#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:20
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_function_void_from_const_std_filesystem_path_ref MR_std_function_void_from_const_std_filesystem_path_ref
Definition MRObjectLoad.h:20
MRC_API MR_expected_void_std_string * MR_serializeObjectTree_4(const MR_Object *object, const char *path, const char *path_end, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress, MR_PassBy preCompress_pass_by, MR_std_function_void_from_const_std_filesystem_path_ref *preCompress)
saves object subtree in given scene file (zip/mru)
MRC_API MR_expected_void_std_string * MR_ObjectSave_toAnySupportedSceneFormat(const MR_Object *object, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
MRC_API MR_expected_void_std_string * MR_ObjectSave_toAnySupportedFormat(const MR_Object *object, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
MRC_API MR_expected_void_std_string * MR_serializeObjectTree_3(const MR_Object *object, const char *path, const char *path_end, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11