载入中...
搜索中...
未找到
eve::archspace::MeshSceneProjector类 参考final

Mesh bake projector for 3D / scene hosts. 更多...

#include <ArchSpaceProjector.h>

类 eve::archspace::MeshSceneProjector 继承关系图:
eve::archspace::IArchSpaceProjector

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()

eve::archspace::MeshSceneProjector::MeshSceneProjector ( )
default

Mesh scene projector.

成员函数说明

◆ clear()

void eve::archspace::MeshSceneProjector::clear ( )
overridevirtual

Drop derived presentation state.

实现了 eve::archspace::IArchSpaceProjector.

在文件 ArchSpaceProjector.cpp 第 56 行定义.

◆ kind()

const char * eve::archspace::MeshSceneProjector::kind ( ) const
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()

const MeshBake & eve::archspace::MeshSceneProjector::mesh ( ) const
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()

std::uint64_t eve::archspace::MeshSceneProjector::revision ( ) const
inlinenoexcept

Revision last successfully synced; 0 before the first sync.

在文件 ArchSpaceProjector.h 第 110 行定义.

被这些函数引用 sync().

◆ sync()

eve::Result< void > eve::archspace::MeshSceneProjector::sync ( const Document &  document,
std::uint64_t  revision 
)
overridevirtual

Rebuild derived presentation from document at revision.

参数
documentBorrowed authority; must outlive the call.
revisionCaller-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().


该类的文档由以下文件生成: