Mesh bake projector for 3D / scene hosts. 更多...
#include <ArchSpaceProjector.h>
Public 成员函数 | |
| MeshSceneProjector ()=default | |
| Mesh scene projector. | |
| const char * | kind () const noexcept override |
| Stable projector kind wire name. @ownership Non-owning pointer to a static string literal; do not free. @lifetime Valid for the process lifetime. | |
| eve::Result< void > | sync (const Document &document, std::uint64_t revision) override |
Rebuild derived presentation from document at revision. | |
| void | clear () override |
| Drop derived presentation state. | |
| const MeshBake & | mesh () const noexcept |
| Last baked mesh; empty after clear or before the first successful sync. @ownership Borrowed from this projector; do not free. @lifetime Valid until the next sync/clear or projector destruction. | |
| std::uint64_t | revision () const noexcept |
| Revision last successfully synced; 0 before the first sync. | |
Public 成员函数 继承自 eve::archspace::IArchSpaceProjector | |
| virtual | ~IArchSpaceProjector ()=default |
| Releases IArchSpaceProjector resources. | |
| virtual eve::Result< std::string > | pickNode (Vec3, Vec3) const |
| Pick a document node under a world-space ray when supported. | |
详细描述
Mesh bake projector for 3D / scene hosts.
Stores the last MeshBake; hosts upload via bakeMeshArrays / gfx themselves.
在文件 ArchSpaceProjector.h 第 86 行定义.
构造及析构函数说明
◆ MeshSceneProjector()
|
default |
Mesh scene projector.
成员函数说明
◆ clear()
|
overridevirtual |
Drop derived presentation state.
实现了 eve::archspace::IArchSpaceProjector.
在文件 ArchSpaceProjector.cpp 第 56 行定义.
◆ kind()
|
inlineoverridevirtualnoexcept |
Stable projector kind wire name. @ownership Non-owning pointer to a static string literal; do not free. @lifetime Valid for the process lifetime.
实现了 eve::archspace::IArchSpaceProjector.
在文件 ArchSpaceProjector.h 第 96 行定义.
◆ mesh()
|
inlinenoexcept |
Last baked mesh; empty after clear or before the first successful sync. @ownership Borrowed from this projector; do not free. @lifetime Valid until the next sync/clear or projector destruction.
在文件 ArchSpaceProjector.h 第 107 行定义.
◆ revision()
|
inlinenoexcept |
Revision last successfully synced; 0 before the first sync.
在文件 ArchSpaceProjector.h 第 110 行定义.
被这些函数引用 sync().
◆ sync()
|
overridevirtual |
Rebuild derived presentation from document at revision.
- 参数
-
document Borrowed authority; must outlive the call. revision Caller-owned monotonic revision token for cache skipping.
- 返回
- Applied on success; Rejected when inputs are invalid. @cost Full rebuild of presentation state; amortize per document revision.
实现了 eve::archspace::IArchSpaceProjector.
在文件 ArchSpaceProjector.cpp 第 50 行定义.
引用了 eve::Applied, eve::archspace::Document::bakeMesh(), revision(), eve::Status::success() , 以及 eve::Result< T >::success().
该类的文档由以下文件生成:
- src/modules/archspace/ArchSpaceProjector.h
- src/modules/archspace/ArchSpaceProjector.cpp
Public 成员函数 继承自