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
6
namespace
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
MRMeshFwd.h
MRMESH_API
#define MRMESH_API
Definition
MRMeshFwd.h:80
MR::MeshTexture
Definition
MRMeshTexture.h:13
MR::MeshTopology
Definition
MRMesh/MRMeshTopology.h:19
MR::Mesh
Definition
MRMesh/MRMesh.h:23
MR::TriCornerUVCoords
MR::VertColors
MR
Definition
MRCameraOrientationPlugin.h:8
MR::findVertexUV
MRMESH_API std::optional< UVCoord > findVertexUV(const MeshTopology &topology, VertId v, const TriCornerUVCoords &triCornerUvCoords)
MR::findVertexUVs
MRMESH_API std::optional< VertUVCoords > findVertexUVs(const MeshTopology &topology, const TriCornerUVCoords &triCornerUvCoords)
MR::sampleVertexColors
MRMESH_API VertColors sampleVertexColors(const Mesh &mesh, const MeshTexture &tex, const TriCornerUVCoords &triCornerUvCoords)
MR::sampleVertexColor
MRMESH_API Color sampleVertexColor(const Mesh &mesh, VertId v, const MeshTexture &tex, const TriCornerUVCoords &triCornerUvCoords)
MR::Color
Definition
MRMesh/MRColor.h:9
MR::VertId
MeshLib
source
MRMesh
MRTextureColors.h
Generated by
1.11.0