TGraphTask::CreateTask

Factory to create a gather task which assumes the given subsequent list from some other tasks.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Async/TaskGraphInterfaces.h"

Syntax

static FConstructor CreateTask
(
    FGraphEventRef SubsequentsToAssume,
    const FGraphEventArray * Prerequisites,
    ENamedThreads::Type CurrentThreadIfKnown
)

Remarks

Factory to create a gather task which assumes the given subsequent list from some other tasks. This is used to support "WaitFor" during a task execution.

Parameters

Parameter

Description

SubsequentsToAssume;

subsequents to "assume" from an existing task

Prerequisites;

the list of FGraphEvents that must be completed prior to dispatching my seubsequents.

CurrentThreadIfKnown;

provides the index of the thread we are running on. Can be ENamedThreads::AnyThread if the current thread is unknown.

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