载入中...
搜索中...
未找到
eve::asset_procgen::ITerrainVegetationGpuResolver类 参考abstract
Provider boundary from stable prototype names to backend table slots. 更多...
#include <TerrainVegetationGpu.h>
类 eve::asset_procgen::ITerrainVegetationGpuResolver 继承关系图:
Public 成员函数 | |
| virtual | ~ITerrainVegetationGpuResolver ()=default |
| Releases ITerrainVegetationGpuResolver resources. | |
| virtual Result< TerrainVegetationGpuPrototype > | resolve (const TerrainVegetationGpuPrototypeRequest &prototype)=0 |
| Resolve one prototype and optional terrain Detail metadata without mutating the realization. | |
| virtual Result< void > | drawShadow (const TerrainVegetationGpuPrototypeRequest &prototype, const std::array< float, 16 > &transform, const std::array< float, 16 > &lightViewProjection)=0 |
| Submit one realized instance inside an active cascade shadow pass. | |
详细描述
Provider boundary from stable prototype names to backend table slots.
在文件 TerrainVegetationGpu.h 第 41 行定义.
构造及析构函数说明
◆ ~ITerrainVegetationGpuResolver()
|
virtualdefault |
Releases ITerrainVegetationGpuResolver resources.
成员函数说明
◆ drawShadow()
|
pure virtual |
Submit one realized instance inside an active cascade shadow pass.
- 参数
-
prototype Borrowed prototype identity and optional Detail metadata. transform Finite column-major world transform for the instance. lightViewProjection Finite column-major cascade light view-projection matrix.
- 返回
- Success after all eligible prototype parts are submitted, or a structured resource error. @thread Graphics thread only; synchronous and non-reentrant. @lifetime Arguments are borrowed only for this call and must not be retained.
◆ resolve()
|
pure virtual |
Resolve one prototype and optional terrain Detail metadata without mutating the realization.
- 返回
- Valid mesh/material slots retained through the following submit call. @thread Called on the graphics thread. @reentrancy The implementation must not call terrain vegetation submission recursively. @lifetime The request and optional detail pointer are borrowed only for this call and must not be retained.
在 eve::asset_procgen::TerrainDetailGpuResolver 内被实现.
被这些函数引用 eve::asset_procgen::buildTerrainVegetationGpuPlan().
该类的文档由以下文件生成:
- src/modules/asset/procgen/TerrainVegetationGpu.h