MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTextureColors.h File Reference
#include "MRMeshFwd.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).

Functions

std::optional< UVCoord > MR::findVertexUV (const MeshTopology &topology, VertId v, const TriCornerUVCoords &triCornerUvCoords)
std::optional< VertUVCoords > MR::findVertexUVs (const MeshTopology &topology, const TriCornerUVCoords &triCornerUvCoords)
Color MR::sampleVertexColor (const Mesh &mesh, VertId v, const MeshTexture &tex, const TriCornerUVCoords &triCornerUvCoords)
VertColors MR::sampleVertexColors (const Mesh &mesh, const MeshTexture &tex, const TriCornerUVCoords &triCornerUvCoords)
void MR::convertTriCornerUVs (const Mesh &mesh, TriCornerUVCoords &triCornerUvCoords, VertUVCoords &uvCoords, VertColors &colors, MeshTexture &texture)