MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshLoadSettings.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7#include <stdint.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
14typedef struct MR_MeshTexture MR_MeshTexture; // Defined in `#include <MRCMesh/MRMeshTexture.h>`.
15typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
16typedef struct MR_VertCoords MR_VertCoords; // Defined in `#include <MRCMesh/MRVector.h>`.
17typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
18typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
19typedef struct MR_std_optional_MR_Edges MR_std_optional_MR_Edges; // Defined in `#include <MRCMisc/std_optional_MR_Edges.h>`.
20
21
25
31
36
42
48
53
59
65
70
76
82
87
93
99
104
110
116
121
127
133
138
144
150
155
161
167
172
178
182
187
190MRC_API MR_MeshLoadSettings *MR_MeshLoadSettings_ConstructFrom(MR_std_optional_MR_Edges *edges, MR_VertColors *colors, MR_VertCoords2 *uvCoords, MR_VertCoords *normals, MR_MeshTexture *texture, int32_t *skippedFaceCount, int32_t *duplicatedVertexCount, MR_AffineXf3f *xf, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback);
191
194
197
201
204
207
212
213#ifdef __cplusplus
214} // extern "C"
215#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VertCoords MR_VertCoords
Definition MRAABBTreePoints.h:22
struct MR_VertCoords2 MR_VertCoords2
Definition MRChangeMeshAction.h:18
struct MR_MeshLoadSettings MR_MeshLoadSettings
Definition MRCtm.h:14
struct MR_VertColors MR_VertColors
Definition MRE57.h:16
struct MR_MeshTexture MR_MeshTexture
Definition MRImage.h:15
MRC_API int32_t ** MR_MeshLoadSettings_GetMutable_skippedFaceCount(MR_MeshLoadSettings *_this)
struct MR_std_optional_MR_Edges MR_std_optional_MR_Edges
Definition MRMeshLoadSettings.h:19
MRC_API void MR_MeshLoadSettings_Set_normals(MR_MeshLoadSettings *_this, MR_VertCoords *value)
MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_OffsetMutablePtr(MR_MeshLoadSettings *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_MeshLoadSettings * MR_MeshLoadSettings_OffsetPtr(const MR_MeshLoadSettings *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_VertCoords2 *const * MR_MeshLoadSettings_Get_uvCoords(const MR_MeshLoadSettings *_this)
MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MeshLoadSettings *_other)
MRC_API MR_std_optional_MR_Edges ** MR_MeshLoadSettings_GetMutable_edges(MR_MeshLoadSettings *_this)
MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_ConstructFrom(MR_std_optional_MR_Edges *edges, MR_VertColors *colors, MR_VertCoords2 *uvCoords, MR_VertCoords *normals, MR_MeshTexture *texture, int32_t *skippedFaceCount, int32_t *duplicatedVertexCount, MR_AffineXf3f *xf, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback)
MRC_API MR_VertColors ** MR_MeshLoadSettings_GetMutable_colors(MR_MeshLoadSettings *_this)
MRC_API void MR_MeshLoadSettings_Set_xf(MR_MeshLoadSettings *_this, MR_AffineXf3f *value)
MRC_API void MR_MeshLoadSettings_Set_texture(MR_MeshLoadSettings *_this, MR_MeshTexture *value)
MRC_API void MR_MeshLoadSettings_Set_uvCoords(MR_MeshLoadSettings *_this, MR_VertCoords2 *value)
MRC_API MR_VertCoords2 ** MR_MeshLoadSettings_GetMutable_uvCoords(MR_MeshLoadSettings *_this)
MRC_API MR_std_function_bool_from_float * MR_MeshLoadSettings_GetMutable_callback(MR_MeshLoadSettings *_this)
MRC_API void MR_MeshLoadSettings_Destroy(const MR_MeshLoadSettings *_this)
Destroys a heap-allocated instance of MR_MeshLoadSettings. Does nothing if the pointer is null.
MRC_API MR_std_optional_MR_Edges *const * MR_MeshLoadSettings_Get_edges(const MR_MeshLoadSettings *_this)
MRC_API void MR_MeshLoadSettings_Set_edges(MR_MeshLoadSettings *_this, MR_std_optional_MR_Edges *value)
MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_AssignFromAnother(MR_MeshLoadSettings *_this, MR_PassBy _other_pass_by, MR_MeshLoadSettings *_other)
MRC_API void MR_MeshLoadSettings_Set_callback(MR_MeshLoadSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_MeshTexture ** MR_MeshLoadSettings_GetMutable_texture(MR_MeshLoadSettings *_this)
MRC_API void MR_MeshLoadSettings_Set_duplicatedVertexCount(MR_MeshLoadSettings *_this, int32_t *value)
MRC_API MR_AffineXf3f *const * MR_MeshLoadSettings_Get_xf(const MR_MeshLoadSettings *_this)
MRC_API MR_VertCoords ** MR_MeshLoadSettings_GetMutable_normals(MR_MeshLoadSettings *_this)
MRC_API MR_AffineXf3f ** MR_MeshLoadSettings_GetMutable_xf(MR_MeshLoadSettings *_this)
MRC_API MR_MeshTexture *const * MR_MeshLoadSettings_Get_texture(const MR_MeshLoadSettings *_this)
MRC_API void MR_MeshLoadSettings_DestroyArray(const MR_MeshLoadSettings *_this)
Destroys a heap-allocated array of MR_MeshLoadSettings. Does nothing if the pointer is null.
MRC_API const MR_std_function_bool_from_float * MR_MeshLoadSettings_Get_callback(const MR_MeshLoadSettings *_this)
MRC_API MR_VertColors *const * MR_MeshLoadSettings_Get_colors(const MR_MeshLoadSettings *_this)
MRC_API int32_t *const * MR_MeshLoadSettings_Get_skippedFaceCount(const MR_MeshLoadSettings *_this)
MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_DefaultConstruct(void)
MRC_API int32_t *const * MR_MeshLoadSettings_Get_duplicatedVertexCount(const MR_MeshLoadSettings *_this)
MRC_API MR_VertCoords *const * MR_MeshLoadSettings_Get_normals(const MR_MeshLoadSettings *_this)
MRC_API void MR_MeshLoadSettings_Set_skippedFaceCount(MR_MeshLoadSettings *_this, int32_t *value)
MRC_API void MR_MeshLoadSettings_Set_colors(MR_MeshLoadSettings *_this, MR_VertColors *value)
MRC_API int32_t ** MR_MeshLoadSettings_GetMutable_duplicatedVertexCount(MR_MeshLoadSettings *_this)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36