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
20
25
29
34
39
43
48
53
57
62
67
71
76
80
85
89
92
95
100
103
106
112
113#ifdef __cplusplus
114} // extern "C"
115#endif
struct MR_FaceColors MR_FaceColors
Definition MRChangeColoringActions.h:14
struct MR_TexturePerFace MR_TexturePerFace
Definition MRChangeMeshAction.h:15
struct MR_VertCoords2 MR_VertCoords2
Definition MRChangeMeshAction.h:18
struct MR_VertColors MR_VertColors
Definition MRE57.h:16
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
Generated from class MR::MeshAttributesToUpdate.
Definition MRMeshAttributesToUpdate.h:19
MRC_API const MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_OffsetPtr(const MR_MeshAttributesToUpdate *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_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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
#define MRC_API
Definition exports.h:11