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_ObjectSave_Settings MR_ObjectSave_Settings; // Defined in `#include <MRCMesh/MRObjectSaveSettings.h>`.
12typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.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
24MRC_API MR_expected_void_std_string *MR_ObjectSave_toAnySupportedSceneFormat(const MR_Object *object, const char *file, const char *file_end, const MR_ObjectSave_Settings *settings);
25
35MRC_API MR_expected_void_std_string *MR_ObjectSave_toAnySupportedFormat(const MR_Object *object, const char *file, const char *file_end, const MR_ObjectSave_Settings *settings);
36
52MRC_API MR_expected_void_std_string *MR_serializeObjectTree_4(const MR_Object *object, const char *path, const char *path_end, MR_PassBy preCompress_pass_by, MR_std_function_void_from_const_std_filesystem_path_ref *preCompress, const MR_ObjectSave_Settings *settings);
53
60MRC_API MR_expected_void_std_string *MR_serializeObjectTree_3(const MR_Object *object, const char *path, const char *path_end, const MR_ObjectSave_Settings *settings);
61
62#ifdef __cplusplus
63} // extern "C"
64#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:19
struct MR_ObjectSave_Settings MR_ObjectSave_Settings
Definition MRGltf.h:11
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 preCompress_pass_by, MR_std_function_void_from_const_std_filesystem_path_ref *preCompress, const MR_ObjectSave_Settings *settings)
saves object subtree in given scene file (zip/mru)
MRC_API MR_expected_void_std_string * MR_ObjectSave_toAnySupportedFormat(const MR_Object *object, const char *file, const char *file_end, const MR_ObjectSave_Settings *settings)
MRC_API MR_expected_void_std_string * MR_ObjectSave_toAnySupportedSceneFormat(const MR_Object *object, const char *file, const char *file_end, const MR_ObjectSave_Settings *settings)
MRC_API MR_expected_void_std_string * MR_serializeObjectTree_3(const MR_Object *object, const char *path, const char *path_end, const MR_ObjectSave_Settings *settings)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11