MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshAttributesToUpdate.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
12typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
13typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
14typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
15
16
17// the attribute data of the mesh that needs to be updated
21
27
33
39
45
51
57
63
69
75
81
87
93
97
102
111
115
119
125
128
131
139
140#ifdef __cplusplus
141} // extern "C"
142#endif
struct MR_FaceColors MR_FaceColors
Definition MRChangeColoringActions.h:13
struct MR_TexturePerFace MR_TexturePerFace
Definition MRChangeMeshAction.h:15
struct MR_VertColors MR_VertColors
Definition MRCtm.h:22
struct MR_VertCoords2 MR_VertCoords2
Definition MRCtm.h:23
MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_ConstructFromAnother(const MR_MeshAttributesToUpdate *_other)
MRC_API void MR_MeshAttributesToUpdate_Destroy(const MR_MeshAttributesToUpdate *_this)
Destroys a heap-allocated instance of MR_MeshAttributesToUpdate. Does nothing if the pointer is null.
MRC_API void MR_MeshAttributesToUpdate_DestroyArray(const MR_MeshAttributesToUpdate *_this)
Destroys a heap-allocated array of MR_MeshAttributesToUpdate. Does nothing if the pointer is null.
MRC_API MR_VertCoords2 ** MR_MeshAttributesToUpdate_GetMutable_uvCoords(MR_MeshAttributesToUpdate *_this)
struct MR_MeshAttributesToUpdate MR_MeshAttributesToUpdate
Definition MRMeshAttributesToUpdate.h:20
MRC_API const MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_OffsetPtr(const MR_MeshAttributesToUpdate *ptr, ptrdiff_t i)
MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_AssignFromAnother(MR_MeshAttributesToUpdate *_this, const MR_MeshAttributesToUpdate *_other)
MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_DefaultConstruct(void)
MRC_API MR_VertCoords2 *const * MR_MeshAttributesToUpdate_Get_uvCoords(const MR_MeshAttributesToUpdate *_this)
MRC_API MR_FaceColors ** MR_MeshAttributesToUpdate_GetMutable_faceColors(MR_MeshAttributesToUpdate *_this)
MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_DefaultConstructArray(size_t num_elems)
MRC_API void MR_MeshAttributesToUpdate_Set_texturePerFace(MR_MeshAttributesToUpdate *_this, MR_TexturePerFace *value)
MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_ConstructFrom(MR_VertCoords2 *uvCoords, MR_VertColors *colorMap, MR_TexturePerFace *texturePerFace, MR_FaceColors *faceColors)
MRC_API void MR_MeshAttributesToUpdate_Set_faceColors(MR_MeshAttributesToUpdate *_this, MR_FaceColors *value)
MRC_API MR_TexturePerFace *const * MR_MeshAttributesToUpdate_Get_texturePerFace(const MR_MeshAttributesToUpdate *_this)
MRC_API void MR_MeshAttributesToUpdate_Set_colorMap(MR_MeshAttributesToUpdate *_this, MR_VertColors *value)
MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_OffsetMutablePtr(MR_MeshAttributesToUpdate *ptr, ptrdiff_t i)
MRC_API MR_TexturePerFace ** MR_MeshAttributesToUpdate_GetMutable_texturePerFace(MR_MeshAttributesToUpdate *_this)
MRC_API void MR_MeshAttributesToUpdate_Set_uvCoords(MR_MeshAttributesToUpdate *_this, MR_VertCoords2 *value)
MRC_API MR_VertColors *const * MR_MeshAttributesToUpdate_Get_colorMap(const MR_MeshAttributesToUpdate *_this)
MRC_API MR_FaceColors *const * MR_MeshAttributesToUpdate_Get_faceColors(const MR_MeshAttributesToUpdate *_this)
MRC_API MR_VertColors ** MR_MeshAttributesToUpdate_GetMutable_colorMap(MR_MeshAttributesToUpdate *_this)