Reads the GPU frame timing captured by the renderer via Vulkan timestamp queries. Providers: eve::graphics::Graphics. 更多...
#include <GpuTimer.h>
Public 成员函数 | |
| virtual | ~IGpuTimer ()=default |
| Releases IGpuTimer resources. | |
| virtual bool | gpuTimingAvailable () const =0 |
| True when the renderer captured a valid GPU frame this frame. | |
| virtual float | gpuFrameMs () const =0 |
| GPU execution time of the last presented frame, in milliseconds. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IGpuTimer" |
详细描述
Reads the GPU frame timing captured by the renderer via Vulkan timestamp queries. Providers: eve::graphics::Graphics.
在文件 GpuTimer.h 第 17 行定义.
构造及析构函数说明
◆ ~IGpuTimer()
|
virtualdefault |
Releases IGpuTimer resources.
成员函数说明
◆ gpuFrameMs()
|
pure virtual |
GPU execution time of the last presented frame, in milliseconds.
在 eve::graphics::vulkan::Graphics 内被实现.
被这些函数引用 eve::profiler::Profiler::captureFrame(), eve::profiler::Profiler::gpuFrameMs() , 以及 eve::profiler::Profiler::textReport().
◆ gpuTimingAvailable()
|
pure virtual |
True when the renderer captured a valid GPU frame this frame.
在 eve::graphics::vulkan::Graphics 内被实现.
被这些函数引用 eve::profiler::Profiler::captureFrame() , 以及 eve::profiler::Profiler::textReport().
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 GpuTimer.h 第 19 行定义.
该类的文档由以下文件生成:
- src/engine/common/GpuTimer.h