Encapsulates a latency timer that measures the time from when mouse input is read on the gamethread until that frame is fully displayed by the GPU.
更多...
#include <RenderCore.h>
|
| | FInputLatencyTimer (float InUpdateFrequency) |
| | Constructor 更多...
|
| |
|
RENDERCORE_API void | GameThreadTick () |
| | Potentially starts the timer on the gamethread, based on the UpdateFrequency.
|
| |
| float | GetDeltaSeconds () const |
| |
|
|
bool | bInitialized |
| | Whether GInputLatencyTimer is initialized or not.
|
| |
|
uint32 | DeltaTime |
| | Last delta time that was measured (in FPlatformTime::Cycles).
|
| |
|
bool | GameThreadTrigger |
| | Whether a measurement has been triggered on the gamethread.
|
| |
|
float | LastCaptureTime |
| | Last time we did a measurement (in seconds).
|
| |
|
bool | RenderThreadTrigger |
| | Whether a measurement has been triggered on the renderthread.
|
| |
|
uint32 | StartTime |
| | Start time (in FPlatformTime::Cycles).
|
| |
|
float | UpdateFrequency |
| | How often we should do a measurement (in seconds).
|
| |
Encapsulates a latency timer that measures the time from when mouse input is read on the gamethread until that frame is fully displayed by the GPU.
◆ FInputLatencyTimer()
| FInputLatencyTimer::FInputLatencyTimer |
( |
float |
InUpdateFrequency | ) |
|
|
inline |
Constructor
- 参数
-
| InUpdateFrequency | How often the timer should be updated (in seconds). |
◆ GetDeltaSeconds()
| float FInputLatencyTimer::GetDeltaSeconds |
( |
| ) |
const |
|
inline |
- 返回
- The number of seconds of input latency.
该结构体的文档由以下文件生成: