FEnginePerformanceTargets

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Performance/EnginePerformanceTargets.h

Include

#include "Performance/EnginePerformanceTargets.h"

Syntax

struct FEnginePerformanceTargets

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Static

float

 

GetHitchFrameTimeThresholdMS()

The threshold that would be considered so bad that it would cause a hitch in gameplay (cosmetic only for reporting purposes such as FPS charts, should not be used in scalability code)

Public function Static

float

 

GetHitchToNonHitchRatio()

For the current frame to be considered a hitch, it must have run at least this many times slower than the previous frame.

Public function Static

float

 

GetMinTimeBetweenHitchesMS()

Minimum time passed before we'll record a new hitch.

Public function Static

float

 

GetTargetFrameTimeThresholdMS()

The target threshold for frame time in miliseconds (cosmetic only and used for fps/stat display, should not be used in scalability code) Values below this will be green, values between this and the unacceptable threshold will be yellow, and values above that will be red

Public function Static

float

 

GetUnacceptableFrameTimeThresholdMS()

The maximum threshold for an 'OK' frame time in miliseconds (cosmetic only and used for fps/stat display, should not be used in scalability code) Values above this will be red, values between this and the acceptable limit will be yellow, and values below will be green.

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