FGenericPlatformRHIFramePacer::SetFramePaceToSyncInterval

The generic implementation sets rhi.SyncInterval based on [FPlatformMisc::GetMaxRefreshRate()](API\Runtime\Core\GenericPlatform\FGenericPlatformMisc\GetMaxRefreshRate).

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformFramePacer.h

Include

#include "GenericPlatform/GenericPlatformFramePacer.h"

Source

/Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformFramePacer.cpp

Syntax

static int32 SetFramePaceToSyncInterval
(
    int32 FramePace
)

Remarks

The generic implementation sets rhi.SyncInterval based on FPlatformMisc::GetMaxRefreshRate().

Returns

the pace we will run at.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss