Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderTimer.h |
| Include | #include "RenderTimer.h" |
Syntax
struct FInputLatencyTimer
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| 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. | |
| 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 (in FPlatformTime::Cycles). | |
| float | UpdateFrequency | How often we should do a measurement (in seconds). |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FInputLatencyTimer
(
float InUpdateFrequency |
Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Potentially starts the timer on the gamethread, based on the UpdateFrequency. | ||
| float |