载入中...
搜索中...
未找到
eve::stylize::MeshVfxScalabilityPlanner类 参考
Selects mesh VFX quality under a deterministic per-view work budget. 更多...
#include <MeshVfxScalability.h>
Public 成员函数 | |
| MeshVfxScalabilityPlanner (MeshVfxScalabilityPolicy policy={}) | |
| Creates a planner with the supplied immutable policy. | |
| std::vector< MeshVfxLodDecision > | plan (std::span< const MeshVfxLodCandidate > candidates) const |
| Plans one frame while preserving the input order in the result. | |
| const MeshVfxScalabilityPolicy & | policy () const noexcept |
| Returns the policy used by this planner. | |
详细描述
Selects mesh VFX quality under a deterministic per-view work budget.
The planner owns no instance state and is safe to call from any thread. Equal priority candidates are ordered by distance and then stableInstanceId, making replay and backend decisions independent of input iteration order.
在文件 MeshVfxScalability.h 第 61 行定义.
构造及析构函数说明
◆ MeshVfxScalabilityPlanner()
|
explicit |
Creates a planner with the supplied immutable policy.
- 参数
-
policy Quality thresholds and work costs.
在文件 MeshVfxScalability.cpp 第 63 行定义.
成员函数说明
◆ plan()
| std::vector< MeshVfxLodDecision > eve::stylize::MeshVfxScalabilityPlanner::plan | ( | std::span< const MeshVfxLodCandidate > | candidates | ) | const |
Plans one frame while preserving the input order in the result.
- 参数
-
candidates Per-instance view measurements.
- 返回
- One decision for every candidate.
在文件 MeshVfxScalability.cpp 第 66 行定义.
引用了 a, b, eve::stylize::Culled , 以及 order.
◆ policy()
|
inlinenoexcept |
Returns the policy used by this planner.
在文件 MeshVfxScalability.h 第 77 行定义.
该类的文档由以下文件生成:
- src/modules/stylize/MeshVfxScalability.h
- src/modules/stylize/MeshVfxScalability.cpp