载入中...
搜索中...
未找到
eve::graphics::vulkan::FrameGraphRecordingState结构体 参考

Render-thread-owned recording cost history; reset when graph topology changes. @ownership Stored by Graphics; no callbacks or borrowed job handles are retained. 更多...

#include <FrameGraphJobs.h>

Public 成员函数

bool isParallelWorthwhile () const
 Whether the measured graph justifies worker scheduling this frame. Periodically remeasure serial cost so a shrinking workload returns to inline recording.
 

Public 属性

std::chrono::nanoseconds serialCost {}
 
uint32_t parallelFrames = 0
 

详细描述

Render-thread-owned recording cost history; reset when graph topology changes. @ownership Stored by Graphics; no callbacks or borrowed job handles are retained.

在文件 FrameGraphJobs.h 第 22 行定义.

成员函数说明

◆ isParallelWorthwhile()

bool eve::graphics::vulkan::FrameGraphRecordingState::isParallelWorthwhile ( ) const
inline

Whether the measured graph justifies worker scheduling this frame. Periodically remeasure serial cost so a shrinking workload returns to inline recording.

在文件 FrameGraphJobs.h 第 28 行定义.

引用了 parallelFrames , 以及 serialCost.

类成员变量说明

◆ parallelFrames

uint32_t eve::graphics::vulkan::FrameGraphRecordingState::parallelFrames = 0

在文件 FrameGraphJobs.h 第 24 行定义.

被这些函数引用 isParallelWorthwhile().

◆ serialCost

std::chrono::nanoseconds eve::graphics::vulkan::FrameGraphRecordingState::serialCost {}

在文件 FrameGraphJobs.h 第 23 行定义.

被这些函数引用 isParallelWorthwhile().


该结构体的文档由以下文件生成: