Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformFramePacer.h |
Include |
#include "GenericPlatform/GenericPlatformFramePacer.h" |
struct FGenericPlatformRHIFramePacer
Generic implementation for most platforms
Name | Description | ||
---|---|---|---|
|
GetFramePace() |
The pace we are running at (30 = 30fps, 0 = unpaced) The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate(). |
|
|
GetFramePaceFromSyncInterval() |
The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate(). |
|
|
SetFramePace ( |
Sets the pace we would like to running at (30 = 30fps, 0 = unpaced). |
|
|
SetFramePaceToSyncInterval ( |
The generic implementation sets rhi.SyncInterval based on FPlatformMisc::GetMaxRefreshRate(). |
|
|
SupportsFramePace ( |
Returns whether the hardware is able to frame pace at the specified frame rate |