FGenericPlatformRHIFramePacer::SetFramePace

Sets the pace we would like to running at (30 = 30fps, 0 = unpaced).

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

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

Include

#include "GenericPlatform/GenericPlatformFramePacer.h"

Syntax

static int32 SetFramePace
(
    int32 FramePace
)

Remarks

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().

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