Navigation
API > API/Runtime > API/Runtime/ApplicationCore
Generic implementation for most platforms
| Name | FGenericPlatformRHIFramePacer |
| Type | struct |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformFramePacer.h |
| Include Path | #include "GenericPlatform/GenericPlatformFramePacer.h" |
Syntax
struct FGenericPlatformRHIFramePacer
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetFramePace() |
The pace we are running at (30 = 30fps, 0 = unpaced) The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate(). | GenericPlatform/GenericPlatformFramePacer.h | |
static int32 GetFramePaceFromSyncInterval() |
The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate(). | GenericPlatform/GenericPlatformFramePacer.h | |
static int32 SetFramePace
(
int32 FramePace |
Sets the pace we would like to running at (30 = 30fps, 0 = unpaced). | GenericPlatform/GenericPlatformFramePacer.h | |
static int32 SetFramePaceToSyncInterval
(
int32 FramePace |
The generic implementation sets rhi.SyncInterval based on FPlatformMisc::GetMaxRefreshRate(). | GenericPlatform/GenericPlatformFramePacer.h | |
static bool SupportsFramePace
(
int32 QueryFramePace |
Returns whether the hardware is able to frame pace at the specified frame rate | GenericPlatform/GenericPlatformFramePacer.h |