MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshAttributesToUpdate.h File Reference
#include <MRCMisc/exports.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_FaceColors MR_FaceColors
 
typedef struct MR_TexturePerFace MR_TexturePerFace
 
typedef struct MR_VertColors MR_VertColors
 
typedef struct MR_VertCoords2 MR_VertCoords2
 
typedef struct MR_MeshAttributesToUpdate MR_MeshAttributesToUpdate
 

Functions

MRC_API MR_VertCoords2 *const * MR_MeshAttributesToUpdate_Get_uvCoords (const MR_MeshAttributesToUpdate *_this)
 
MRC_API void MR_MeshAttributesToUpdate_Set_uvCoords (MR_MeshAttributesToUpdate *_this, MR_VertCoords2 *value)
 
MRC_API MR_VertCoords2 ** MR_MeshAttributesToUpdate_GetMutable_uvCoords (MR_MeshAttributesToUpdate *_this)
 
MRC_API MR_VertColors *const * MR_MeshAttributesToUpdate_Get_colorMap (const MR_MeshAttributesToUpdate *_this)
 
MRC_API void MR_MeshAttributesToUpdate_Set_colorMap (MR_MeshAttributesToUpdate *_this, MR_VertColors *value)
 
MRC_API MR_VertColors ** MR_MeshAttributesToUpdate_GetMutable_colorMap (MR_MeshAttributesToUpdate *_this)
 
MRC_API MR_TexturePerFace *const * MR_MeshAttributesToUpdate_Get_texturePerFace (const MR_MeshAttributesToUpdate *_this)
 
MRC_API void MR_MeshAttributesToUpdate_Set_texturePerFace (MR_MeshAttributesToUpdate *_this, MR_TexturePerFace *value)
 
MRC_API MR_TexturePerFace ** MR_MeshAttributesToUpdate_GetMutable_texturePerFace (MR_MeshAttributesToUpdate *_this)
 
MRC_API MR_FaceColors *const * MR_MeshAttributesToUpdate_Get_faceColors (const MR_MeshAttributesToUpdate *_this)
 
MRC_API void MR_MeshAttributesToUpdate_Set_faceColors (MR_MeshAttributesToUpdate *_this, MR_FaceColors *value)
 
MRC_API MR_FaceColors ** MR_MeshAttributesToUpdate_GetMutable_faceColors (MR_MeshAttributesToUpdate *_this)
 
MRC_API MR_MeshAttributesToUpdateMR_MeshAttributesToUpdate_DefaultConstruct (void)
 
MRC_API MR_MeshAttributesToUpdateMR_MeshAttributesToUpdate_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_MeshAttributesToUpdateMR_MeshAttributesToUpdate_ConstructFrom (MR_VertCoords2 *uvCoords, MR_VertColors *colorMap, MR_TexturePerFace *texturePerFace, MR_FaceColors *faceColors)
 
MRC_API const MR_MeshAttributesToUpdateMR_MeshAttributesToUpdate_OffsetPtr (const MR_MeshAttributesToUpdate *ptr, ptrdiff_t i)
 
MRC_API MR_MeshAttributesToUpdateMR_MeshAttributesToUpdate_OffsetMutablePtr (MR_MeshAttributesToUpdate *ptr, ptrdiff_t i)
 
MRC_API MR_MeshAttributesToUpdateMR_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_MeshAttributesToUpdateMR_MeshAttributesToUpdate_AssignFromAnother (MR_MeshAttributesToUpdate *_this, const MR_MeshAttributesToUpdate *_other)
 

Typedef Documentation

◆ MR_FaceColors

typedef struct MR_FaceColors MR_FaceColors

◆ MR_MeshAttributesToUpdate

Generated from class MR::MeshAttributesToUpdate. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_TexturePerFace

◆ MR_VertColors

typedef struct MR_VertColors MR_VertColors

◆ MR_VertCoords2

Function Documentation

◆ MR_MeshAttributesToUpdate_AssignFromAnother()

MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_AssignFromAnother ( MR_MeshAttributesToUpdate * _this,
const MR_MeshAttributesToUpdate * _other )

Generated from method MR::MeshAttributesToUpdate::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_MeshAttributesToUpdate_ConstructFrom()

MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_ConstructFrom ( MR_VertCoords2 * uvCoords,
MR_VertColors * colorMap,
MR_TexturePerFace * texturePerFace,
MR_FaceColors * faceColors )

Constructs MR::MeshAttributesToUpdate elementwise. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter colorMap might be preserved in the constructed object. The reference to the parameter texturePerFace might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshAttributesToUpdate_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_MeshAttributesToUpdate_ConstructFromAnother()

MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_ConstructFromAnother ( const MR_MeshAttributesToUpdate * _other)

Generated from constructor MR::MeshAttributesToUpdate::MeshAttributesToUpdate. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshAttributesToUpdate_Destroy() to free it when you're done using it.

◆ MR_MeshAttributesToUpdate_DefaultConstruct()

MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshAttributesToUpdate_Destroy() to free it when you're done using it.

◆ MR_MeshAttributesToUpdate_DefaultConstructArray()

MRC_API MR_MeshAttributesToUpdate * MR_MeshAttributesToUpdate_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_MeshAttributesToUpdate_DestroyArray(). Use MR_MeshAttributesToUpdate_OffsetMutablePtr() and MR_MeshAttributesToUpdate_OffsetPtr() to access the array elements.

◆ MR_MeshAttributesToUpdate_Destroy()

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.

◆ MR_MeshAttributesToUpdate_DestroyArray()

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.

◆ MR_MeshAttributesToUpdate_Get_colorMap()

MRC_API MR_VertColors *const * MR_MeshAttributesToUpdate_Get_colorMap ( const MR_MeshAttributesToUpdate * _this)

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named colorMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_Get_faceColors()

MRC_API MR_FaceColors *const * MR_MeshAttributesToUpdate_Get_faceColors ( const MR_MeshAttributesToUpdate * _this)

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named faceColors. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_Get_texturePerFace()

MRC_API MR_TexturePerFace *const * MR_MeshAttributesToUpdate_Get_texturePerFace ( const MR_MeshAttributesToUpdate * _this)

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named texturePerFace. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_Get_uvCoords()

MRC_API MR_VertCoords2 *const * MR_MeshAttributesToUpdate_Get_uvCoords ( const MR_MeshAttributesToUpdate * _this)

Returns a pointer to a member variable of class MR::MeshAttributesToUpdate named uvCoords. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_GetMutable_colorMap()

MRC_API MR_VertColors ** MR_MeshAttributesToUpdate_GetMutable_colorMap ( MR_MeshAttributesToUpdate * _this)

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named colorMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_GetMutable_faceColors()

MRC_API MR_FaceColors ** MR_MeshAttributesToUpdate_GetMutable_faceColors ( MR_MeshAttributesToUpdate * _this)

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named faceColors. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_GetMutable_texturePerFace()

MRC_API MR_TexturePerFace ** MR_MeshAttributesToUpdate_GetMutable_texturePerFace ( MR_MeshAttributesToUpdate * _this)

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named texturePerFace. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_GetMutable_uvCoords()

MRC_API MR_VertCoords2 ** MR_MeshAttributesToUpdate_GetMutable_uvCoords ( MR_MeshAttributesToUpdate * _this)

Returns a mutable pointer to a member variable of class MR::MeshAttributesToUpdate named uvCoords. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_MeshAttributesToUpdate_OffsetMutablePtr()

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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_MeshAttributesToUpdate_OffsetPtr()

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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_MeshAttributesToUpdate_Set_colorMap()

MRC_API void MR_MeshAttributesToUpdate_Set_colorMap ( MR_MeshAttributesToUpdate * _this,
MR_VertColors * value )

Modifies a member variable of class MR::MeshAttributesToUpdate named colorMap. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element colorMap. When this function is called, this object will drop object references it had previously in colorMap.

◆ MR_MeshAttributesToUpdate_Set_faceColors()

MRC_API void MR_MeshAttributesToUpdate_Set_faceColors ( MR_MeshAttributesToUpdate * _this,
MR_FaceColors * value )

Modifies a member variable of class MR::MeshAttributesToUpdate named faceColors. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element faceColors. When this function is called, this object will drop object references it had previously in faceColors.

◆ MR_MeshAttributesToUpdate_Set_texturePerFace()

MRC_API void MR_MeshAttributesToUpdate_Set_texturePerFace ( MR_MeshAttributesToUpdate * _this,
MR_TexturePerFace * value )

Modifies a member variable of class MR::MeshAttributesToUpdate named texturePerFace. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element texturePerFace. When this function is called, this object will drop object references it had previously in texturePerFace.

◆ MR_MeshAttributesToUpdate_Set_uvCoords()

MRC_API void MR_MeshAttributesToUpdate_Set_uvCoords ( MR_MeshAttributesToUpdate * _this,
MR_VertCoords2 * value )

Modifies a member variable of class MR::MeshAttributesToUpdate named uvCoords. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element uvCoords. When this function is called, this object will drop object references it had previously in uvCoords.