载入中...
搜索中...
未找到
eve::procgen_animation::PcgSkinnedMeshResult类 参考

Atomically published combined mesh and matching owned AnimSkin. 更多...

#include <PcgSkinnedMesh.h>

Public 成员函数

const procgen::MeshBuild * mesh () const noexcept
 Borrow the combined CPU mesh. @ownership This result retains ownership. @lifetime Valid until the next successful combine, move or destruction.
 
animation::AnimSkin * skin () const noexcept
 Borrow the skin whose vertex order exactly matches mesh(). @ownership This result retains ownership. @lifetime Valid until the next successful combine, move or destruction.
 
bool valid () const noexcept
 Return whether a complete mesh/skin pair is present.
 

友元

EVENGINE_API_ORCHESTRATION Result< void > combinePcgSkinnedMeshesInto (PcgSkinnedMeshResult &, const PcgSkinnedMeshPlan &)
 Combine Pcg skinned meshes, preserving its bone and bindpose remap semantics.
 

详细描述

Atomically published combined mesh and matching owned AnimSkin.

在文件 PcgSkinnedMesh.h 第 39 行定义.

成员函数说明

◆ mesh()

const procgen::MeshBuild * eve::procgen_animation::PcgSkinnedMeshResult::mesh ( ) const
inlinenoexcept

Borrow the combined CPU mesh. @ownership This result retains ownership. @lifetime Valid until the next successful combine, move or destruction.

在文件 PcgSkinnedMesh.h 第 44 行定义.

◆ skin()

animation::AnimSkin * eve::procgen_animation::PcgSkinnedMeshResult::skin ( ) const
inlinenoexcept

Borrow the skin whose vertex order exactly matches mesh(). @ownership This result retains ownership. @lifetime Valid until the next successful combine, move or destruction.

在文件 PcgSkinnedMesh.h 第 48 行定义.

◆ valid()

bool eve::procgen_animation::PcgSkinnedMeshResult::valid ( ) const
inlinenoexcept

Return whether a complete mesh/skin pair is present.

在文件 PcgSkinnedMesh.h 第 50 行定义.

友元及相关函数文档

◆ combinePcgSkinnedMeshesInto

EVENGINE_API_ORCHESTRATION Result< void > combinePcgSkinnedMeshesInto ( PcgSkinnedMeshResult &  ,
const PcgSkinnedMeshPlan &   
)
friend

Combine Pcg skinned meshes, preserving its bone and bindpose remap semantics.

参数
outputReplaced only after both mesh and skin validate completely.
planImmutable owning sources.
返回
Success or a structured diagnostic without changing output. @thread Synchronous CPU operation; callers serialize output access.

在文件 PcgSkinnedMesh.cpp 第 50 行定义.


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