![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericPlatformFramePacer.h>
Inheritance diagram for FGenericPlatformRHIFramePacer:Static Public Member Functions | |
| static int32 | GetFramePace () |
| static int32 | SetFramePace (int32 FramePace) |
| static APPLICATIONCORE_API bool | SupportsFramePace (int32 QueryFramePace) |
Static Protected Member Functions | |
| static APPLICATIONCORE_API int32 | GetFramePaceFromSyncInterval () |
| static APPLICATIONCORE_API int32 | SetFramePaceToSyncInterval (int32 FramePace) |
Generic implementation for most platforms
The pace we are running at (30 = 30fps, 0 = unpaced) The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate().
|
staticprotected |
The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate().
Sets the pace we would like to running at (30 = 30fps, 0 = unpaced). The generic implementation sets the value for rhi.SyncInterval according to FPlatformMisc::GetMaxRefreshRate().
The generic implementation sets rhi.SyncInterval based on FPlatformMisc::GetMaxRefreshRate().
Returns whether the hardware is able to frame pace at the specified frame rate