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_SceneSave_Settings MR_SceneSave_Settings; // Defined in `#include <MRCMesh/MRObjectSaveSettings.h>`.
13typedef struct MR_expected_void_std_string MR_expected_void_std_string; // Defined in `#include <MRCMisc/expected_void_std_string.h>`.
14typedef 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>`.
15
16
25MRC_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);
26
36MRC_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);
37
53MRC_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_SceneSave_Settings *settings);
54
61MRC_API MR_expected_void_std_string *MR_serializeObjectTree_3(const MR_Object *object, const char *path, const char *path_end, const MR_SceneSave_Settings *settings);
62
63#ifdef __cplusplus
64} // extern "C"
65#endif
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:26
struct MR_SceneSave_Settings MR_SceneSave_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:22
MRC_API MR_expected_void_std_string * MR_serializeObjectTree_3(const MR_Object *object, const char *path, const char *path_end, const MR_SceneSave_Settings *settings)
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)
struct MR_ObjectSave_Settings MR_ObjectSave_Settings
Definition MRObjectSave.h:11
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_SceneSave_Settings *settings)
saves object subtree in given scene file (zip/mru)
MR_PassBy
Definition common.h:23
#define MRC_API
Definition include/MRCMisc/exports.h:11