Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
Include |
#include "Async/TaskGraphInterfaces.h" |
void DoTask
(
ENamedThreads::Type CurrentThread,
const FGraphEventRef & MyCompletionGraphEvent
)
Actually execute the task.
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. |