MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectSaveSettings.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
14typedef struct MR_std_optional_MR_LengthUnit MR_std_optional_MR_LengthUnit; // Defined in `#include <MRCMisc/std_optional_MR_LengthUnit.h>`.
15
16
23
24// ObjectSave::Settings and SceneSave::Settings must be distinct classes for
25// ObjectSave::ObjectSaver and SceneSave::SceneSaver be distinct types and MR_FORMAT_REGISTRY_DECL does not mix them
32
39
47
54
61
68
75
79
84
92
96
100
105
108
111
118
125
133
140
147
154
161
165
170
174
178
183
187
193
198
203
206
209
216
217#ifdef __cplusplus
218} // extern "C"
219#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_std_optional_MR_LengthUnit MR_std_optional_MR_LengthUnit
Definition MRCtm.h:30
struct MR_SceneSave_Settings MR_SceneSave_Settings
Definition MRGltf.h:11
MRC_API const MR_std_optional_MR_LengthUnit * MR_SceneSave_Settings_Get_lengthUnit(const MR_SceneSave_Settings *_this)
MRC_API void MR_SceneSave_Settings_Destroy(const MR_SceneSave_Settings *_this)
Destroys a heap-allocated instance of MR_SceneSave_Settings. Does nothing if the pointer is null.
MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_DefaultConstruct(void)
MRC_API void MR_ObjectSave_Settings_Destroy(const MR_ObjectSave_Settings *_this)
Destroys a heap-allocated instance of MR_ObjectSave_Settings. Does nothing if the pointer is null.
MRC_API MR_std_function_bool_from_float * MR_SceneSave_Settings_GetMutable_progress(MR_SceneSave_Settings *_this)
MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_OffsetMutablePtr(MR_ObjectSave_Settings *ptr, ptrdiff_t i)
MRC_API const MR_std_function_bool_from_float * MR_SceneSave_Settings_Get_progress(const MR_SceneSave_Settings *_this)
MRC_API void MR_ObjectSave_Settings_DestroyArray(const MR_ObjectSave_Settings *_this)
Destroys a heap-allocated array of MR_ObjectSave_Settings. Does nothing if the pointer is null.
MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_ConstructFrom(const MR_LengthUnit *lengthUnit, MR_PassBy progress_pass_by, MR_std_function_bool_from_float *progress)
MRC_API void MR_SceneSave_Settings_Set_lengthUnit(MR_SceneSave_Settings *_this, const MR_LengthUnit *value)
MRC_API MR_SceneSave_Settings * MR_ObjectSave_Settings_MutableUpcastTo_MR_SceneSave_Settings(MR_ObjectSave_Settings *object)
MRC_API const MR_SceneSave_Settings * MR_SceneSave_Settings_OffsetPtr(const MR_SceneSave_Settings *ptr, ptrdiff_t i)
MRC_API const MR_std_function_bool_from_float * MR_ObjectSave_Settings_Get_progress(const MR_ObjectSave_Settings *_this)
MRC_API void MR_SceneSave_Settings_Set_progress(MR_SceneSave_Settings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_AssignFromAnother(MR_SceneSave_Settings *_this, MR_PassBy _other_pass_by, MR_SceneSave_Settings *_other)
MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_DefaultConstruct(void)
MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_OffsetMutablePtr(MR_SceneSave_Settings *ptr, ptrdiff_t i)
MRC_API void MR_ObjectSave_Settings_Set_progress(MR_ObjectSave_Settings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_DefaultConstructArray(size_t num_elems)
MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_DefaultConstructArray(size_t num_elems)
MRC_API void MR_SceneSave_Settings_DestroyArray(const MR_SceneSave_Settings *_this)
Destroys a heap-allocated array of MR_SceneSave_Settings. Does nothing if the pointer is null.
MRC_API MR_SceneSave_Settings * MR_SceneSave_Settings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SceneSave_Settings *_other)
MRC_API MR_std_function_bool_from_float * MR_ObjectSave_Settings_GetMutable_progress(MR_ObjectSave_Settings *_this)
MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_AssignFromAnother(MR_ObjectSave_Settings *_this, MR_PassBy _other_pass_by, MR_ObjectSave_Settings *_other)
MRC_API const MR_ObjectSave_Settings * MR_ObjectSave_Settings_OffsetPtr(const MR_ObjectSave_Settings *ptr, ptrdiff_t i)
MRC_API const MR_std_optional_MR_LengthUnit * MR_ObjectSave_Settings_Get_lengthUnit(const MR_ObjectSave_Settings *_this)
MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_MutableStaticDowncastFrom_MR_SceneSave_Settings(MR_SceneSave_Settings *object)
MRC_API MR_ObjectSave_Settings * MR_ObjectSave_Settings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectSave_Settings *_other)
MRC_API const MR_SceneSave_Settings * MR_ObjectSave_Settings_UpcastTo_MR_SceneSave_Settings(const MR_ObjectSave_Settings *object)
MRC_API MR_std_optional_MR_LengthUnit * MR_ObjectSave_Settings_GetMutable_lengthUnit(MR_ObjectSave_Settings *_this)
MRC_API void MR_ObjectSave_Settings_Set_lengthUnit(MR_ObjectSave_Settings *_this, const MR_LengthUnit *value)
MRC_API MR_std_optional_MR_LengthUnit * MR_SceneSave_Settings_GetMutable_lengthUnit(MR_SceneSave_Settings *_this)
MRC_API const MR_ObjectSave_Settings * MR_ObjectSave_Settings_StaticDowncastFrom_MR_SceneSave_Settings(const MR_SceneSave_Settings *object)
struct MR_ObjectSave_Settings MR_ObjectSave_Settings
Definition MRObjectSave.h:11
MR_LengthUnit
Definition MRUnitInfo.h:22
MR_PassBy
Definition common.h:23
#define MRC_API
Definition include/MRCMisc/exports.h:11