MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTextureColors.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include <optional>
5
6namespace MR
7{
8
11[[nodiscard]] MRMESH_API std::optional<UVCoord> findVertexUV( const MeshTopology& topology, VertId v, const TriCornerUVCoords& triCornerUvCoords );
12
15[[nodiscard]] MRMESH_API std::optional<VertUVCoords> findVertexUVs( const MeshTopology& topology, const TriCornerUVCoords& triCornerUvCoords );
16
19[[nodiscard]] MRMESH_API Color sampleVertexColor( const Mesh& mesh, VertId v, const MeshTexture& tex, const TriCornerUVCoords& triCornerUvCoords );
20
23[[nodiscard]] MRMESH_API VertColors sampleVertexColors( const Mesh& mesh, const MeshTexture& tex, const TriCornerUVCoords& triCornerUvCoords );
24
25} //namespace MR
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMesh/MRMeshTopology.h:19
Definition MRCameraOrientationPlugin.h:8
MRMESH_API std::optional< UVCoord > findVertexUV(const MeshTopology &topology, VertId v, const TriCornerUVCoords &triCornerUvCoords)
MRMESH_API std::optional< VertUVCoords > findVertexUVs(const MeshTopology &topology, const TriCornerUVCoords &triCornerUvCoords)
MRMESH_API VertColors sampleVertexColors(const Mesh &mesh, const MeshTexture &tex, const TriCornerUVCoords &triCornerUvCoords)
MRMESH_API Color sampleVertexColor(const Mesh &mesh, VertId v, const MeshTexture &tex, const TriCornerUVCoords &triCornerUvCoords)
Definition MRMesh/MRColor.h:9
Definition MRMeshTexture.h:13
Definition MRMesh/MRMesh.h:23