FReturnGraphTask::DoTask

Actually execute the task.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Async/TaskGraphInterfaces.h"

Syntax

void DoTask
(
    ENamedThreads::Type CurrentThread,
    const FGraphEventRef & MyCompletionGraphEvent
)

Remarks

Actually execute the task.

Parameters

Parameter

Description

CurrentThread;

the thread we are running on

MyCompletionGraphEvent;

my completion event. Not always useful since at the end of DoWork, you can assume you are done and hence further tasks do not need you as a prerequisite. However, MyCompletionGraphEvent can be useful for passing to other routines or when it is handy to set up subsequents before you actually do work.

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