Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformFramePacer.h |
Include | #include "GenericPlatform/GenericPlatformFramePacer.h" |
Syntax
struct FGenericPlatformRHIFramePacer
Remarks
Generic implementation for most platforms
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
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(). |
![]() ![]() |
int32 | The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate(). | |
![]() ![]() |
int32 | SetFramePace
(
int32 FramePace |
Sets the pace we would like to running at (30 = 30fps, 0 = unpaced). |
![]() ![]() |
int32 | SetFramePaceToSyncInterval
(
int32 FramePace |
The generic implementation sets rhi.SyncInterval based on FPlatformMisc::GetMaxRefreshRate(). |
![]() ![]() |
bool | SupportsFramePace
(
int32 QueryFramePace |
Returns whether the hardware is able to frame pace at the specified frame rate |