FApp::ShouldUseThreadingForPerformance

Checks whether the application should run multi-threaded for performance critical features.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/App.h

Include

#include "Misc/App.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/App.cpp

Syntax

static bool ShouldUseThreadingForPerformance()

Remarks

Checks whether the application should run multi-threaded for performance critical features.

This method is used for performance based threads (like rendering, task graph). This will not disable async IO or similar threads needed to disable hitching

Returns

true if this isn't a server, has more than one core, does not have a -onethread command line options, etc.

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