FGenericPlatformRHIFramePacer

Generic implementation for most platforms

Windows
MacOS
Linux

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

Name Description

Public function Static

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

Protected function Static

int32

 

GetFramePaceFromSyncInterval()

The generic implementation returns a result based on rhi.SyncInterval and FPlatformMisc::GetMaxRefreshRate().

Public function Static

int32

 

SetFramePace

(
    int32 FramePace
)

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

Protected function Static

int32

 

SetFramePaceToSyncInterval

(
    int32 FramePace
)

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

Public function Static

bool

 

SupportsFramePace

(
    int32 QueryFramePace
)

Returns whether the hardware is able to frame pace at the specified frame rate

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