Go to the source code of this file.
◆ MR_Mesh
◆ MR_MeshTexture
◆ MR_MeshTopology
◆ MR_std_optional_MR_Vector2f
◆ MR_std_optional_MR_VertCoords2
◆ MR_TriCornerUVCoords
◆ MR_VertColors
◆ MR_findVertexUV()
returns UV-coordinates at the given vertex if they are the same in all surrounding triangles; otherwise returns std::nullopt Generated from function MR::findVertexUV. Parameter topology can not be null. It is a single object. Parameter triCornerUvCoords can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_Vector2f_Destroy() to free it when you're done using it.
◆ MR_findVertexUVs()
if all mesh vertices have unique UV-coordinates in all triangles, then returns them; otherwise returns std::nullopt Generated from function MR::findVertexUVs. Parameter topology can not be null. It is a single object. Parameter triCornerUvCoords can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_VertCoords2_Destroy() to free it when you're done using it.
◆ MR_sampleVertexColor()
computes the color in the given vertex of mesh textured per-triangle's-corner; if the vertex has different colors in different triangles, then angle-weight average is computed Generated from function MR::sampleVertexColor. Parameter mesh can not be null. It is a single object. Parameter tex can not be null. It is a single object. Parameter triCornerUvCoords can not be null. It is a single object.
◆ MR_sampleVertexColors()
computes the colors in the vertices of mesh textured per-triangle's-corner; if one vertex has different colors in different triangles, then angle-weight average is computed Generated from function MR::sampleVertexColors. Parameter mesh can not be null. It is a single object. Parameter tex can not be null. It is a single object. Parameter triCornerUvCoords can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_VertColors_Destroy() to free it when you're done using it.