EParallelForFlags

Flags controlling the ParallelFor's behavior.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/ParallelFor.h

Include

#include "Async/ParallelFor.h"

Syntax

enum EParallelForFlags
{
    None,
    ForceSingleThread      = 1,
    Unbalanced             = 2,
    PumpRenderingThread    = 4,
}

Values

Name

Description

None

Default behavior.

ForceSingleThread

Mostly used for testing, when used, ParallelFor will run single threaded instead.

Unbalanced

Offers better work distribution among threads at the cost of a little bit more synchronization.

PumpRenderingThread

If running on the rendering thread, make sure the ProcessThread is called when idle

Remarks

Flags controlling the ParallelFor's behavior.

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