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

Go to the source code of this file.

Typedefs

typedef struct MR_FaceColors MR_FaceColors
 
typedef struct MR_MeshTexture MR_MeshTexture
 
typedef struct MR_TriCornerUVCoords MR_TriCornerUVCoords
 
typedef struct MR_VertColors MR_VertColors
 
typedef struct MR_VertCoords MR_VertCoords
 
typedef struct MR_VertCoords2 MR_VertCoords2
 
typedef struct MR_expected_MR_VertCoords_std_string MR_expected_MR_VertCoords_std_string
 
typedef struct MR_std_filesystem_path MR_std_filesystem_path
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_istream MR_std_istream
 
typedef struct MR_std_optional_MR_Edges MR_std_optional_MR_Edges
 
typedef struct MR_std_optional_MR_Triangulation MR_std_optional_MR_Triangulation
 
typedef struct MR_PlyLoadParams MR_PlyLoadParams
 

Functions

MRC_API MR_std_optional_MR_Triangulation *const * MR_PlyLoadParams_Get_tris (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_tris (MR_PlyLoadParams *_this, MR_std_optional_MR_Triangulation *value)
 
MRC_API MR_std_optional_MR_Triangulation ** MR_PlyLoadParams_GetMutable_tris (MR_PlyLoadParams *_this)
 
MRC_API MR_std_optional_MR_Edges *const * MR_PlyLoadParams_Get_edges (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_edges (MR_PlyLoadParams *_this, MR_std_optional_MR_Edges *value)
 
MRC_API MR_std_optional_MR_Edges ** MR_PlyLoadParams_GetMutable_edges (MR_PlyLoadParams *_this)
 
MRC_API MR_VertColors *const * MR_PlyLoadParams_Get_colors (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_colors (MR_PlyLoadParams *_this, MR_VertColors *value)
 
MRC_API MR_VertColors ** MR_PlyLoadParams_GetMutable_colors (MR_PlyLoadParams *_this)
 
MRC_API MR_FaceColors *const * MR_PlyLoadParams_Get_faceColors (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_faceColors (MR_PlyLoadParams *_this, MR_FaceColors *value)
 
MRC_API MR_FaceColors ** MR_PlyLoadParams_GetMutable_faceColors (MR_PlyLoadParams *_this)
 
MRC_API MR_VertCoords2 *const * MR_PlyLoadParams_Get_uvCoords (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_uvCoords (MR_PlyLoadParams *_this, MR_VertCoords2 *value)
 
MRC_API MR_VertCoords2 ** MR_PlyLoadParams_GetMutable_uvCoords (MR_PlyLoadParams *_this)
 
MRC_API MR_TriCornerUVCoords *const * MR_PlyLoadParams_Get_triCornerUvCoords (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_triCornerUvCoords (MR_PlyLoadParams *_this, MR_TriCornerUVCoords *value)
 
MRC_API MR_TriCornerUVCoords ** MR_PlyLoadParams_GetMutable_triCornerUvCoords (MR_PlyLoadParams *_this)
 
MRC_API MR_VertCoords *const * MR_PlyLoadParams_Get_normals (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_normals (MR_PlyLoadParams *_this, MR_VertCoords *value)
 
MRC_API MR_VertCoords ** MR_PlyLoadParams_GetMutable_normals (MR_PlyLoadParams *_this)
 
MRC_API MR_MeshTexture *const * MR_PlyLoadParams_Get_texture (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_texture (MR_PlyLoadParams *_this, MR_MeshTexture *value)
 
MRC_API MR_MeshTexture ** MR_PlyLoadParams_GetMutable_texture (MR_PlyLoadParams *_this)
 
MRC_API const MR_std_filesystem_pathMR_PlyLoadParams_Get_dir (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_dir (MR_PlyLoadParams *_this, const char *value, const char *value_end)
 
MRC_API MR_std_filesystem_pathMR_PlyLoadParams_GetMutable_dir (MR_PlyLoadParams *_this)
 
MRC_API const MR_std_function_bool_from_floatMR_PlyLoadParams_Get_callback (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_callback (MR_PlyLoadParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
 
MRC_API MR_std_function_bool_from_floatMR_PlyLoadParams_GetMutable_callback (MR_PlyLoadParams *_this)
 
MRC_API const bool * MR_PlyLoadParams_Get_telemetrySignal (const MR_PlyLoadParams *_this)
 
MRC_API void MR_PlyLoadParams_Set_telemetrySignal (MR_PlyLoadParams *_this, bool value)
 
MRC_API bool * MR_PlyLoadParams_GetMutable_telemetrySignal (MR_PlyLoadParams *_this)
 
MRC_API MR_PlyLoadParamsMR_PlyLoadParams_DefaultConstruct (void)
 
MRC_API MR_PlyLoadParamsMR_PlyLoadParams_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_PlyLoadParamsMR_PlyLoadParams_ConstructFrom (MR_std_optional_MR_Triangulation *tris, MR_std_optional_MR_Edges *edges, MR_VertColors *colors, MR_FaceColors *faceColors, MR_VertCoords2 *uvCoords, MR_TriCornerUVCoords *triCornerUvCoords, MR_VertCoords *normals, MR_MeshTexture *texture, const char *dir, const char *dir_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback, bool telemetrySignal)
 
MRC_API const MR_PlyLoadParamsMR_PlyLoadParams_OffsetPtr (const MR_PlyLoadParams *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.
 
MRC_API MR_PlyLoadParamsMR_PlyLoadParams_OffsetMutablePtr (MR_PlyLoadParams *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.
 
MRC_API MR_PlyLoadParamsMR_PlyLoadParams_ConstructFromAnother (MR_PassBy _other_pass_by, MR_PlyLoadParams *_other)
 
MRC_API void MR_PlyLoadParams_Destroy (const MR_PlyLoadParams *_this)
 Destroys a heap-allocated instance of MR_PlyLoadParams. Does nothing if the pointer is null.
 
MRC_API void MR_PlyLoadParams_DestroyArray (const MR_PlyLoadParams *_this)
 Destroys a heap-allocated array of MR_PlyLoadParams. Does nothing if the pointer is null.
 
MRC_API MR_PlyLoadParamsMR_PlyLoadParams_AssignFromAnother (MR_PlyLoadParams *_this, MR_PassBy _other_pass_by, MR_PlyLoadParams *_other)
 
MRC_API MR_expected_MR_VertCoords_std_stringMR_loadPly_std_istream_ref_MR_PlyLoadParams (MR_std_istream *in, const MR_PlyLoadParams *params)
 

Typedef Documentation

◆ MR_expected_MR_VertCoords_std_string

◆ MR_FaceColors

typedef struct MR_FaceColors MR_FaceColors

◆ MR_MeshTexture

◆ MR_PlyLoadParams

optional load artifacts and other setting for PLY file loading Generated from class MR::PlyLoadParams. 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). optional load artifact: mesh triangles Returns a pointer to a member variable of class MR::PlyLoadParams named tris. 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_std_filesystem_path

◆ MR_std_function_bool_from_float

◆ MR_std_istream

◆ MR_std_optional_MR_Edges

◆ MR_std_optional_MR_Triangulation

◆ MR_TriCornerUVCoords

◆ MR_VertColors

typedef struct MR_VertColors MR_VertColors

◆ MR_VertCoords

typedef struct MR_VertCoords MR_VertCoords

◆ MR_VertCoords2

Function Documentation

◆ MR_loadPly_std_istream_ref_MR_PlyLoadParams()

MRC_API MR_expected_MR_VertCoords_std_string * MR_loadPly_std_istream_ref_MR_PlyLoadParams ( MR_std_istream * in,
const MR_PlyLoadParams * params )

Generated from function MR::loadPly. Parameter in can not be null. It is a single object. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_VertCoords_std_string_Destroy() to free it when you're done using it.

◆ MR_PlyLoadParams_AssignFromAnother()

MRC_API MR_PlyLoadParams * MR_PlyLoadParams_AssignFromAnother ( MR_PlyLoadParams * _this,
MR_PassBy _other_pass_by,
MR_PlyLoadParams * _other )

Generated from method MR::PlyLoadParams::operator=. 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_PlyLoadParams_ConstructFrom()

MRC_API MR_PlyLoadParams * MR_PlyLoadParams_ConstructFrom ( MR_std_optional_MR_Triangulation * tris,
MR_std_optional_MR_Edges * edges,
MR_VertColors * colors,
MR_FaceColors * faceColors,
MR_VertCoords2 * uvCoords,
MR_TriCornerUVCoords * triCornerUvCoords,
MR_VertCoords * normals,
MR_MeshTexture * texture,
const char * dir,
const char * dir_end,
MR_PassBy callback_pass_by,
MR_std_function_bool_from_float * callback,
bool telemetrySignal )

Constructs MR::PlyLoadParams elementwise. Parameter dir is a UTF-8 encoded filesystem path. Never returns null. Returns an instance allocated on the heap! Must call MR_PlyLoadParams_Destroy() to free it when you're done using it.

◆ MR_PlyLoadParams_ConstructFromAnother()

MRC_API MR_PlyLoadParams * MR_PlyLoadParams_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_PlyLoadParams * _other )

Generated from constructor MR::PlyLoadParams::PlyLoadParams. Never returns null. Returns an instance allocated on the heap! Must call MR_PlyLoadParams_Destroy() to free it when you're done using it.

◆ MR_PlyLoadParams_DefaultConstruct()

MRC_API MR_PlyLoadParams * MR_PlyLoadParams_DefaultConstruct ( void )

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

◆ MR_PlyLoadParams_DefaultConstructArray()

MRC_API MR_PlyLoadParams * MR_PlyLoadParams_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_PlyLoadParams_DestroyArray(). Use MR_PlyLoadParams_OffsetMutablePtr() and MR_PlyLoadParams_OffsetPtr() to access the array elements.

◆ MR_PlyLoadParams_Destroy()

MRC_API void MR_PlyLoadParams_Destroy ( const MR_PlyLoadParams * _this)

Destroys a heap-allocated instance of MR_PlyLoadParams. Does nothing if the pointer is null.

◆ MR_PlyLoadParams_DestroyArray()

MRC_API void MR_PlyLoadParams_DestroyArray ( const MR_PlyLoadParams * _this)

Destroys a heap-allocated array of MR_PlyLoadParams. Does nothing if the pointer is null.

◆ MR_PlyLoadParams_Get_callback()

MRC_API const MR_std_function_bool_from_float * MR_PlyLoadParams_Get_callback ( const MR_PlyLoadParams * _this)

callback for set progress and stop process Modifies a member variable of class MR::PlyLoadParams named callback. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_colors()

MRC_API MR_VertColors *const * MR_PlyLoadParams_Get_colors ( const MR_PlyLoadParams * _this)

optional load artifact: per-vertex color map Modifies a member variable of class MR::PlyLoadParams named colors. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_dir()

MRC_API const MR_std_filesystem_path * MR_PlyLoadParams_Get_dir ( const MR_PlyLoadParams * _this)

directory to load texture files from Modifies a member variable of class MR::PlyLoadParams named dir. Parameter _this can not be null. It is a single object. Parameter value is a UTF-8 encoded filesystem path.

◆ MR_PlyLoadParams_Get_edges()

MRC_API MR_std_optional_MR_Edges *const * MR_PlyLoadParams_Get_edges ( const MR_PlyLoadParams * _this)

optional load artifact: polyline edges Modifies a member variable of class MR::PlyLoadParams named edges. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_faceColors()

MRC_API MR_FaceColors *const * MR_PlyLoadParams_Get_faceColors ( const MR_PlyLoadParams * _this)

optional load artifact: per-face color map Modifies a member variable of class MR::PlyLoadParams named faceColors. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_normals()

MRC_API MR_VertCoords *const * MR_PlyLoadParams_Get_normals ( const MR_PlyLoadParams * _this)

optional load artifact: per-vertex normals Modifies a member variable of class MR::PlyLoadParams named normals. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_telemetrySignal()

MRC_API const bool * MR_PlyLoadParams_Get_telemetrySignal ( const MR_PlyLoadParams * _this)

permit telemetry signal about loading Modifies a member variable of class MR::PlyLoadParams named telemetrySignal. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_texture()

MRC_API MR_MeshTexture *const * MR_PlyLoadParams_Get_texture ( const MR_PlyLoadParams * _this)

optional load artifact: texture image Modifies a member variable of class MR::PlyLoadParams named texture. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_triCornerUvCoords()

MRC_API MR_TriCornerUVCoords *const * MR_PlyLoadParams_Get_triCornerUvCoords ( const MR_PlyLoadParams * _this)

optional load artifact: per-corner uv-coordinates for each triangle Modifies a member variable of class MR::PlyLoadParams named triCornerUvCoords. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_tris()

MRC_API MR_std_optional_MR_Triangulation *const * MR_PlyLoadParams_Get_tris ( const MR_PlyLoadParams * _this)

optional load artifact: mesh triangles Modifies a member variable of class MR::PlyLoadParams named tris. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_Get_uvCoords()

MRC_API MR_VertCoords2 *const * MR_PlyLoadParams_Get_uvCoords ( const MR_PlyLoadParams * _this)

optional load artifact: per-vertex uv-coordinates Modifies a member variable of class MR::PlyLoadParams named uvCoords. Parameter _this can not be null. It is a single object.

◆ MR_PlyLoadParams_GetMutable_callback()

MRC_API MR_std_function_bool_from_float * MR_PlyLoadParams_GetMutable_callback ( MR_PlyLoadParams * _this)

permit telemetry signal about loading Returns a pointer to a member variable of class MR::PlyLoadParams named telemetrySignal. 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_PlyLoadParams_GetMutable_colors()

MRC_API MR_VertColors ** MR_PlyLoadParams_GetMutable_colors ( MR_PlyLoadParams * _this)

optional load artifact: per-face color map Returns a pointer to a member variable of class MR::PlyLoadParams 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_PlyLoadParams_GetMutable_dir()

MRC_API MR_std_filesystem_path * MR_PlyLoadParams_GetMutable_dir ( MR_PlyLoadParams * _this)

callback for set progress and stop process Returns a pointer to a member variable of class MR::PlyLoadParams named callback. 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_PlyLoadParams_GetMutable_edges()

MRC_API MR_std_optional_MR_Edges ** MR_PlyLoadParams_GetMutable_edges ( MR_PlyLoadParams * _this)

optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::PlyLoadParams named colors. 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_PlyLoadParams_GetMutable_faceColors()

MRC_API MR_FaceColors ** MR_PlyLoadParams_GetMutable_faceColors ( MR_PlyLoadParams * _this)

optional load artifact: per-vertex uv-coordinates Returns a pointer to a member variable of class MR::PlyLoadParams 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_PlyLoadParams_GetMutable_normals()

MRC_API MR_VertCoords ** MR_PlyLoadParams_GetMutable_normals ( MR_PlyLoadParams * _this)

optional load artifact: texture image Returns a pointer to a member variable of class MR::PlyLoadParams named texture. 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_PlyLoadParams_GetMutable_telemetrySignal()

MRC_API bool * MR_PlyLoadParams_GetMutable_telemetrySignal ( MR_PlyLoadParams * _this)

◆ MR_PlyLoadParams_GetMutable_texture()

MRC_API MR_MeshTexture ** MR_PlyLoadParams_GetMutable_texture ( MR_PlyLoadParams * _this)

directory to load texture files from Returns a pointer to a member variable of class MR::PlyLoadParams named dir. 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_PlyLoadParams_GetMutable_triCornerUvCoords()

MRC_API MR_TriCornerUVCoords ** MR_PlyLoadParams_GetMutable_triCornerUvCoords ( MR_PlyLoadParams * _this)

optional load artifact: per-vertex normals Returns a pointer to a member variable of class MR::PlyLoadParams named normals. 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_PlyLoadParams_GetMutable_tris()

MRC_API MR_std_optional_MR_Triangulation ** MR_PlyLoadParams_GetMutable_tris ( MR_PlyLoadParams * _this)

optional load artifact: polyline edges Returns a pointer to a member variable of class MR::PlyLoadParams named edges. 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_PlyLoadParams_GetMutable_uvCoords()

MRC_API MR_VertCoords2 ** MR_PlyLoadParams_GetMutable_uvCoords ( MR_PlyLoadParams * _this)

optional load artifact: per-corner uv-coordinates for each triangle Returns a pointer to a member variable of class MR::PlyLoadParams named triCornerUvCoords. 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_PlyLoadParams_OffsetMutablePtr()

MRC_API MR_PlyLoadParams * MR_PlyLoadParams_OffsetMutablePtr ( MR_PlyLoadParams * 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.

◆ MR_PlyLoadParams_OffsetPtr()

MRC_API const MR_PlyLoadParams * MR_PlyLoadParams_OffsetPtr ( const MR_PlyLoadParams * 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.

◆ MR_PlyLoadParams_Set_callback()

MRC_API void MR_PlyLoadParams_Set_callback ( MR_PlyLoadParams * _this,
MR_PassBy value_pass_by,
MR_std_function_bool_from_float * value )

callback for set progress and stop process Returns a mutable pointer to a member variable of class MR::PlyLoadParams named callback. 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_PlyLoadParams_Set_colors()

MRC_API void MR_PlyLoadParams_Set_colors ( MR_PlyLoadParams * _this,
MR_VertColors * value )

optional load artifact: per-vertex color map Returns a mutable pointer to a member variable of class MR::PlyLoadParams named colors. 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_PlyLoadParams_Set_dir()

MRC_API void MR_PlyLoadParams_Set_dir ( MR_PlyLoadParams * _this,
const char * value,
const char * value_end )

directory to load texture files from Returns a mutable pointer to a member variable of class MR::PlyLoadParams named dir. 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_PlyLoadParams_Set_edges()

MRC_API void MR_PlyLoadParams_Set_edges ( MR_PlyLoadParams * _this,
MR_std_optional_MR_Edges * value )

optional load artifact: polyline edges Returns a mutable pointer to a member variable of class MR::PlyLoadParams named edges. 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_PlyLoadParams_Set_faceColors()

MRC_API void MR_PlyLoadParams_Set_faceColors ( MR_PlyLoadParams * _this,
MR_FaceColors * value )

optional load artifact: per-face color map Returns a mutable pointer to a member variable of class MR::PlyLoadParams 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_PlyLoadParams_Set_normals()

MRC_API void MR_PlyLoadParams_Set_normals ( MR_PlyLoadParams * _this,
MR_VertCoords * value )

optional load artifact: per-vertex normals Returns a mutable pointer to a member variable of class MR::PlyLoadParams named normals. 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_PlyLoadParams_Set_telemetrySignal()

MRC_API void MR_PlyLoadParams_Set_telemetrySignal ( MR_PlyLoadParams * _this,
bool value )

permit telemetry signal about loading Returns a mutable pointer to a member variable of class MR::PlyLoadParams named telemetrySignal. 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_PlyLoadParams_Set_texture()

MRC_API void MR_PlyLoadParams_Set_texture ( MR_PlyLoadParams * _this,
MR_MeshTexture * value )

optional load artifact: texture image Returns a mutable pointer to a member variable of class MR::PlyLoadParams named texture. 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_PlyLoadParams_Set_triCornerUvCoords()

MRC_API void MR_PlyLoadParams_Set_triCornerUvCoords ( MR_PlyLoadParams * _this,
MR_TriCornerUVCoords * value )

optional load artifact: per-corner uv-coordinates for each triangle Returns a mutable pointer to a member variable of class MR::PlyLoadParams named triCornerUvCoords. 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_PlyLoadParams_Set_tris()

MRC_API void MR_PlyLoadParams_Set_tris ( MR_PlyLoadParams * _this,
MR_std_optional_MR_Triangulation * value )

optional load artifact: mesh triangles Returns a mutable pointer to a member variable of class MR::PlyLoadParams named tris. 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_PlyLoadParams_Set_uvCoords()

MRC_API void MR_PlyLoadParams_Set_uvCoords ( MR_PlyLoadParams * _this,
MR_VertCoords2 * value )

optional load artifact: per-vertex uv-coordinates Returns a mutable pointer to a member variable of class MR::PlyLoadParams 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.