载入中...
搜索中...
未找到
eve::asset_procgen::ITerrainVegetationGpuResolver类 参考abstract

Provider boundary from stable prototype names to backend table slots. 更多...

#include <TerrainVegetationGpu.h>

类 eve::asset_procgen::ITerrainVegetationGpuResolver 继承关系图:
eve::asset_procgen::TerrainDetailGpuResolver

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

virtual eve::asset_procgen::ITerrainVegetationGpuResolver::~ITerrainVegetationGpuResolver ( )
virtualdefault

Releases ITerrainVegetationGpuResolver resources.

成员函数说明

◆ drawShadow()

virtual Result< void > eve::asset_procgen::ITerrainVegetationGpuResolver::drawShadow ( const TerrainVegetationGpuPrototypeRequest &  prototype,
const std::array< float, 16 > &  transform,
const std::array< float, 16 > &  lightViewProjection 
)
pure virtual

Submit one realized instance inside an active cascade shadow pass.

参数
prototypeBorrowed prototype identity and optional Detail metadata.
transformFinite column-major world transform for the instance.
lightViewProjectionFinite 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.

在 eve::asset_procgen::TerrainDetailGpuResolver 内被实现.

◆ resolve()

virtual Result< TerrainVegetationGpuPrototype > eve::asset_procgen::ITerrainVegetationGpuResolver::resolve ( const TerrainVegetationGpuPrototypeRequest &  prototype)
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().


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