ParallelFor

Overload list

Windows
MacOS
Linux
Name Description

Public function

void

 

ParallelFor

(
    int32 Num,
    TFunctionRef< void)> Body,
    EParallelForFlags Flags
)

General purpose parallel for that uses the taskgraph for unbalanced tasks Offers better work distribution among threads at the cost of a little bit more synchronization.

Public function

void

 

ParallelFor

(
    int32 Num,
    TFunctionRef< void)> Body,
    bool bForceSingleThread,
    bool bPumpRenderingThread
)

General purpose parallel for that uses the taskgraph

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