载入中...
搜索中...
未找到
eve::service::IGpuTimer类 参考abstract

Reads the GPU frame timing captured by the renderer via Vulkan timestamp queries. Providers: eve::graphics::Graphics. 更多...

#include <GpuTimer.h>

类 eve::service::IGpuTimer 继承关系图:
eve::graphics::vulkan::Graphics

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

virtual eve::service::IGpuTimer::~IGpuTimer ( )
virtualdefault

Releases IGpuTimer resources.

成员函数说明

◆ gpuFrameMs()

virtual float eve::service::IGpuTimer::gpuFrameMs ( ) const
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()

virtual bool eve::service::IGpuTimer::gpuTimingAvailable ( ) const
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

constexpr const char* eve::service::IGpuTimer::capabilityName = "IGpuTimer"
staticconstexpr

在文件 GpuTimer.h 第 19 行定义.


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