/Engine/Source/Runtime/RenderCore/Public/RenderTimer.h
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.
struct FInputLatencyTimer
bool
bInitialized
Whether GInputLatencyTimer is initialized or not.
uint32
DeltaTime
Last delta time that was measured (inFPlatformTime::Cycles).
bool
GameThreadTrigger
Whether a measurement has been triggered on the gamethread.
double
LastCaptureTime
Last time we did a measurement (in seconds).
bool
RenderThreadTrigger
Whether a measurement has been triggered on the renderthread.
uint32
StartTime
Start time (inFPlatformTime::Cycles).
float
UpdateFrequency
How often we should do a measurement (in seconds).