Go to the source code of this file.
Typedefs | |
| typedef struct MR_AffineXf3f | MR_AffineXf3f |
| typedef struct MR_FaceColors | MR_FaceColors |
| typedef struct MR_MeshTexture | MR_MeshTexture |
| typedef struct MR_VertColors | MR_VertColors |
| typedef struct MR_VertCoords | MR_VertCoords |
| typedef struct MR_VertCoords2 | MR_VertCoords2 |
| typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
| typedef struct MR_std_optional_MR_Edges | MR_std_optional_MR_Edges |
| typedef struct MR_MeshLoadSettings | MR_MeshLoadSettings |
| typedef struct MR_AffineXf3f MR_AffineXf3f |
| typedef struct MR_FaceColors MR_FaceColors |
| typedef struct MR_MeshLoadSettings MR_MeshLoadSettings |
setting for mesh loading from external format, and locations of optional output data Generated from class MR::MeshLoadSettings. 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: polyline edges Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| typedef struct MR_MeshTexture MR_MeshTexture |
| typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
| typedef struct MR_std_optional_MR_Edges MR_std_optional_MR_Edges |
| typedef struct MR_VertColors MR_VertColors |
| typedef struct MR_VertCoords MR_VertCoords |
| typedef struct MR_VertCoords2 MR_VertCoords2 |
| MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_AssignFromAnother | ( | MR_MeshLoadSettings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_MeshLoadSettings * | _other ) |
Generated from method MR::MeshLoadSettings::operator=. Parameter _this 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.
| MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_ConstructFrom | ( | MR_std_optional_MR_Edges * | edges, |
| MR_VertColors * | colors, | ||
| MR_FaceColors * | faceColors, | ||
| MR_VertCoords2 * | uvCoords, | ||
| MR_VertCoords * | normals, | ||
| MR_MeshTexture * | texture, | ||
| int * | skippedFaceCount, | ||
| int * | duplicatedVertexCount, | ||
| MR_AffineXf3f * | xf, | ||
| MR_PassBy | callback_pass_by, | ||
| MR_std_function_bool_from_float * | callback, | ||
| bool | telemetrySignal ) |
Constructs MR::MeshLoadSettings elementwise. The reference to the parameter edges might be preserved in the constructed object. The reference to the parameter colors might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter normals might be preserved in the constructed object. The reference to the parameter texture might be preserved in the constructed object. The reference to the parameter skippedFaceCount might be preserved in the constructed object. The reference to the parameter duplicatedVertexCount might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshLoadSettings_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.
| MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_MeshLoadSettings * | _other ) |
Generated from constructor MR::MeshLoadSettings::MeshLoadSettings. 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_MeshLoadSettings_Destroy() to free it when you're done using it.
| MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_MeshLoadSettings_Destroy() to free it when you're done using it.
| MRC_API MR_MeshLoadSettings * MR_MeshLoadSettings_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_MeshLoadSettings_DestroyArray(). Use MR_MeshLoadSettings_OffsetMutablePtr() and MR_MeshLoadSettings_OffsetPtr() to access the array elements.
| 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 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 | ) |
callback for set progress and stop process Modifies a member variable of class MR::MeshLoadSettings named callback. 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 callback. When this function is called, this object will drop object references it had previously in callback.
| MRC_API MR_VertColors *const * MR_MeshLoadSettings_Get_colors | ( | const MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-vertex color map Modifies a member variable of class MR::MeshLoadSettings named colors. 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 colors. When this function is called, this object will drop object references it had previously in colors.
| MRC_API int *const * MR_MeshLoadSettings_Get_duplicatedVertexCount | ( | const MR_MeshLoadSettings * | _this | ) |
optional output: counter of duplicated vertices (that created for resolve non-manifold geometry) Modifies a member variable of class MR::MeshLoadSettings named duplicatedVertexCount. 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 duplicatedVertexCount. When this function is called, this object will drop object references it had previously in duplicatedVertexCount.
| MRC_API MR_std_optional_MR_Edges *const * MR_MeshLoadSettings_Get_edges | ( | const MR_MeshLoadSettings * | _this | ) |
optional load artifact: polyline edges Modifies a member variable of class MR::MeshLoadSettings named edges. 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 edges. When this function is called, this object will drop object references it had previously in edges.
| MRC_API MR_FaceColors *const * MR_MeshLoadSettings_Get_faceColors | ( | const MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-face color map Modifies a member variable of class MR::MeshLoadSettings 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.
| MRC_API MR_VertCoords *const * MR_MeshLoadSettings_Get_normals | ( | const MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-vertex normals Modifies a member variable of class MR::MeshLoadSettings named normals. 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 normals. When this function is called, this object will drop object references it had previously in normals.
| MRC_API int *const * MR_MeshLoadSettings_Get_skippedFaceCount | ( | const MR_MeshLoadSettings * | _this | ) |
optional output: counter of skipped faces during mesh creation Modifies a member variable of class MR::MeshLoadSettings named skippedFaceCount. 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 skippedFaceCount. When this function is called, this object will drop object references it had previously in skippedFaceCount.
| MRC_API const bool * MR_MeshLoadSettings_Get_telemetrySignal | ( | const MR_MeshLoadSettings * | _this | ) |
permit telemetry signal about loading Modifies a member variable of class MR::MeshLoadSettings named telemetrySignal. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in telemetrySignal.
| MRC_API MR_MeshTexture *const * MR_MeshLoadSettings_Get_texture | ( | const MR_MeshLoadSettings * | _this | ) |
optional load artifact: texture image Modifies a member variable of class MR::MeshLoadSettings named texture. 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 texture. When this function is called, this object will drop object references it had previously in texture.
| MRC_API MR_VertCoords2 *const * MR_MeshLoadSettings_Get_uvCoords | ( | const MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-vertex uv-coordinates Modifies a member variable of class MR::MeshLoadSettings 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.
| MRC_API MR_AffineXf3f *const * MR_MeshLoadSettings_Get_xf | ( | const MR_MeshLoadSettings * | _this | ) |
optional output: transform for the loaded mesh to improve precision of vertex coordinates Modifies a member variable of class MR::MeshLoadSettings named xf. 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 xf. When this function is called, this object will drop object references it had previously in xf.
| MRC_API MR_std_function_bool_from_float * MR_MeshLoadSettings_GetMutable_callback | ( | MR_MeshLoadSettings * | _this | ) |
permit telemetry signal about loading Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API MR_VertColors ** MR_MeshLoadSettings_GetMutable_colors | ( | MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-face color map Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API int ** MR_MeshLoadSettings_GetMutable_duplicatedVertexCount | ( | MR_MeshLoadSettings * | _this | ) |
optional output: transform for the loaded mesh to improve precision of vertex coordinates Returns a pointer to a member variable of class MR::MeshLoadSettings named xf. 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.
| MRC_API MR_std_optional_MR_Edges ** MR_MeshLoadSettings_GetMutable_edges | ( | MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API MR_FaceColors ** MR_MeshLoadSettings_GetMutable_faceColors | ( | MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-vertex uv-coordinates Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API MR_VertCoords ** MR_MeshLoadSettings_GetMutable_normals | ( | MR_MeshLoadSettings * | _this | ) |
optional load artifact: texture image Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API int ** MR_MeshLoadSettings_GetMutable_skippedFaceCount | ( | MR_MeshLoadSettings * | _this | ) |
optional output: counter of duplicated vertices (that created for resolve non-manifold geometry) Returns a pointer to a member variable of class MR::MeshLoadSettings named duplicatedVertexCount. 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.
| MRC_API bool * MR_MeshLoadSettings_GetMutable_telemetrySignal | ( | MR_MeshLoadSettings * | _this | ) |
| MRC_API MR_MeshTexture ** MR_MeshLoadSettings_GetMutable_texture | ( | MR_MeshLoadSettings * | _this | ) |
optional output: counter of skipped faces during mesh creation Returns a pointer to a member variable of class MR::MeshLoadSettings named skippedFaceCount. 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.
| MRC_API MR_VertCoords2 ** MR_MeshLoadSettings_GetMutable_uvCoords | ( | MR_MeshLoadSettings * | _this | ) |
optional load artifact: per-vertex normals Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API MR_AffineXf3f ** MR_MeshLoadSettings_GetMutable_xf | ( | MR_MeshLoadSettings * | _this | ) |
callback for set progress and stop process Returns a pointer to a member variable of class MR::MeshLoadSettings 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.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| 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 pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_MeshLoadSettings_Set_callback | ( | MR_MeshLoadSettings * | _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::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_colors | ( | MR_MeshLoadSettings * | _this, |
| MR_VertColors * | value ) |
optional load artifact: per-vertex color map Returns a mutable pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_duplicatedVertexCount | ( | MR_MeshLoadSettings * | _this, |
| int * | value ) |
optional output: counter of duplicated vertices (that created for resolve non-manifold geometry) Returns a mutable pointer to a member variable of class MR::MeshLoadSettings named duplicatedVertexCount. 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.
| MRC_API void MR_MeshLoadSettings_Set_edges | ( | MR_MeshLoadSettings * | _this, |
| MR_std_optional_MR_Edges * | value ) |
optional load artifact: polyline edges Returns a mutable pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_faceColors | ( | MR_MeshLoadSettings * | _this, |
| MR_FaceColors * | value ) |
optional load artifact: per-face color map Returns a mutable pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_normals | ( | MR_MeshLoadSettings * | _this, |
| MR_VertCoords * | value ) |
optional load artifact: per-vertex normals Returns a mutable pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_skippedFaceCount | ( | MR_MeshLoadSettings * | _this, |
| int * | value ) |
optional output: counter of skipped faces during mesh creation Returns a mutable pointer to a member variable of class MR::MeshLoadSettings named skippedFaceCount. 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.
| MRC_API void MR_MeshLoadSettings_Set_telemetrySignal | ( | MR_MeshLoadSettings * | _this, |
| bool | value ) |
permit telemetry signal about loading Returns a mutable pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_texture | ( | MR_MeshLoadSettings * | _this, |
| MR_MeshTexture * | value ) |
optional load artifact: texture image Returns a mutable pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_uvCoords | ( | MR_MeshLoadSettings * | _this, |
| MR_VertCoords2 * | value ) |
optional load artifact: per-vertex uv-coordinates Returns a mutable pointer to a member variable of class MR::MeshLoadSettings 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.
| MRC_API void MR_MeshLoadSettings_Set_xf | ( | MR_MeshLoadSettings * | _this, |
| MR_AffineXf3f * | value ) |
optional output: transform for the loaded mesh to improve precision of vertex coordinates Returns a mutable pointer to a member variable of class MR::MeshLoadSettings named xf. 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.