载入中...
搜索中...
未找到
eve::stylize::MeshVfxRenderBatchPlanner类 参考

Builds deterministic state batches while preserving alpha depth order. 更多...

#include <MeshVfxRenderBatch.h>

Public 成员函数

MeshVfxRenderQueue build (std::span< const MeshVfxRenderItem > items, std::span< const MeshVfxLodDecision > lodDecisions, std::uint64_t frameIndex) const
 Builds one frame's render queue.
 

详细描述

Builds deterministic state batches while preserving alpha depth order.

Additive items may be grouped by state because their composition is order independent. Alpha items are sorted back-to-front and only adjacent compatible items are combined. The planner retains no pointers or cross-frame state.

在文件 MeshVfxRenderBatch.h 第 80 行定义.

成员函数说明

◆ build()

MeshVfxRenderQueue eve::stylize::MeshVfxRenderBatchPlanner::build ( std::span< const MeshVfxRenderItem >  items,
std::span< const MeshVfxLodDecision >  lodDecisions,
std::uint64_t  frameIndex 
) const

Builds one frame's render queue.

参数
itemsCandidate draws for the current view.
lodDecisionsLOD decisions keyed by stableInstanceId.
frameIndexDeterministic simulation/render frame index.
返回
Ordered render batches and diagnostic counters.

在文件 MeshVfxRenderBatch.cpp 第 27 行定义.

引用了 eve::stylize::Additive, eve::stylize::Culled, eve::stylize::MeshVfxBatchStats::culledDraws, eve::stylize::MeshVfxBatchStats::dynamicMeshRefreshes, found, eve::stylize::MeshVfxBatchStats::inputItems, lod, eve::stylize::MeshVfxBatchStats::missingDecisions, eve::stylize::Refresh, eve::stylize::Reuse , 以及 eve::stylize::MeshVfxRenderQueue::stats.


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