TParallelForTask

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Async/ParallelFor.h"

Syntax

template<typename FunctionType, typename ContextType>
class TParallelForTask

Constructors

Name Description

Public function

TParallelForTask

(
    int32 InTaskIndex,
    TSharedRef< TParallelForData< Funct...,
    ENamedThreads::Type InDesiredThread,
    int32 InTasksToSpawn
)

Public function

TParallelForTask

(
    const TArrayView< ContextType >& I...,
    int32 InTaskIndex,
    TSharedRef< TParallelForData< Funct...,
    ENamedThreads::Type InDesiredThread,
    int32 InTasksToSpawn
)

Functions

Name Description

Public function

void

 

DoTask

(
    ENamedThreads::Type CurrentThread,
    const FGraphEventRef& MyCompletion...
)

Public function

ENamedThread...

 

GetDesiredThread()

Public function Static

TStatId

 

GetStatId()

Public function Static

ESubsequents...

 

GetSubsequentsMode()