engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 静态 Protected 属性 | 所有成员列表
FGPUTiming结构体 参考

Holds information if this platform's GPU allows timing 更多...

#include <GPUProfiler.h>

被 FOpenGLBufferedGPUTiming 继承.

静态 Public 成员函数

static FGPUTimingCalibrationTimestamp GetCalibrationTimestamp (uint32 GPUIndex=0)
 Returns a pair of timestamps performed on GPU and CPU at nearly the same time, in microseconds. 更多...
 
static uint64 GetTimingFrequency (uint32 GPUIndex=0)
 Returns the frequency for the timing values, in number of ticks per seconds. 更多...
 
static bool IsSupported ()
 Whether GPU timing measurements are supported by the driver. 更多...
 

静态 Protected 属性

static bool GAreGlobalsInitialized
 Whether the static variables have been initialized.
 
static bool GIsSupported
 Whether GPU timing measurements are supported by the driver.
 

详细描述

Holds information if this platform's GPU allows timing

成员函数说明

◆ GetCalibrationTimestamp()

static FGPUTimingCalibrationTimestamp FGPUTiming::GetCalibrationTimestamp ( uint32  GPUIndex = 0)
inlinestatic

Returns a pair of timestamps performed on GPU and CPU at nearly the same time, in microseconds.

返回
CPU and GPU timestamps, in microseconds. Both are 0 if feature isn't supported.

◆ GetTimingFrequency()

static uint64 FGPUTiming::GetTimingFrequency ( uint32  GPUIndex = 0)
inlinestatic

Returns the frequency for the timing values, in number of ticks per seconds.

返回
Frequency for the timing values, in number of ticks per seconds, or 0 if the feature isn't supported.

◆ IsSupported()

static bool FGPUTiming::IsSupported ( )
inlinestatic

Whether GPU timing measurements are supported by the driver.

返回
true if GPU timing measurements are supported by the driver.

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