Row-major affine matrix used by Pcg's root-relative static mesh combination. 更多...
#include <PcgMeshLod.h>
Public 成员函数 | |
| PcgMeshTransform () noexcept | |
| Construct an identity transform. | |
| Result< void > | setElement (int row, int column, float value) |
| Set one finite row/column element in the 4x4 matrix. | |
| float | getElement (int row, int column) const noexcept |
| Return one element, or zero for an invalid coordinate. | |
友元 | |
| class | PcgMeshCombinePlan |
| EVENGINE_API_DOMAINS Result< int > | combinePcgStaticMeshesInto (MeshBuild &, const PcgMeshCombinePlan &) |
| Combine static meshes with Pcg material deduplication and root-relative transforms. | |
详细描述
Row-major affine matrix used by Pcg's root-relative static mesh combination.
在文件 PcgMeshLod.h 第 43 行定义.
构造及析构函数说明
◆ PcgMeshTransform()
|
noexcept |
Construct an identity transform.
在文件 PcgMeshLod.cpp 第 10 行定义.
成员函数说明
◆ getElement()
|
noexcept |
◆ setElement()
| Result< void > eve::procgen::PcgMeshTransform::setElement | ( | int | row, |
| int | column, | ||
| float | value | ||
| ) |
Set one finite row/column element in the 4x4 matrix.
在文件 PcgMeshLod.cpp 第 13 行定义.
引用了 column, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, eve::Result< T >::success() , 以及 value.
友元及相关函数文档
◆ combinePcgStaticMeshesInto
|
friend |
Combine static meshes with Pcg material deduplication and root-relative transforms.
- 参数
-
output Replaced only after all streams, material groups and budgets validate. plan Immutable owning source plan; output cannot alias its copied meshes.
- 返回
- Combined triangle count or a structured diagnostic without changing output. @thread Synchronous CPU operation; no callbacks or references are retained.
Declared ahead of the classes that friend it: the first declaration in a translation unit must carry the link-group macro, otherwise the friend declarations inside PcgMeshTransform/PcgMeshCombinePlan fix a different linkage and this dllexport declaration would be C2375.
在文件 PcgMeshLod.cpp 第 52 行定义.
◆ PcgMeshCombinePlan
|
friend |
在文件 PcgMeshLod.h 第 52 行定义.
该类的文档由以下文件生成:
- src/modules/procgen/PcgMeshLod.h
- src/modules/procgen/PcgMeshLod.cpp