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"

Source

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

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 assuming a 60Hz native refresh rate.

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