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{
10
11
14[[nodiscard]] MRMESH_API std::optional<UVCoord> findVertexUV( const MeshTopology& topology, VertId v, const TriCornerUVCoords& triCornerUvCoords );
15
18[[nodiscard]] MRMESH_API std::optional<VertUVCoords> findVertexUVs( const MeshTopology& topology, const TriCornerUVCoords& triCornerUvCoords );
19
22[[nodiscard]] MRMESH_API Color sampleVertexColor( const Mesh& mesh, VertId v, const MeshTexture& tex, const TriCornerUVCoords& triCornerUvCoords );
23
26[[nodiscard]] MRMESH_API VertColors sampleVertexColors( const Mesh& mesh, const MeshTexture& tex, const TriCornerUVCoords& triCornerUvCoords );
27
28}
Definition MRMeshTopology.h:22
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)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRColor.h:12
Definition MRMeshTexture.h:13
Definition MRMesh.h:23