![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TaskGraphInterfaces.h>
Inheritance diagram for FNullGraphTask:Public Member Functions | |
| FNullGraphTask (const TStatId &StatId, ENamedThreads::Type InDesiredThread) | |
| ENamedThreads::Type | GetDesiredThread () |
| void | DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
Public Member Functions inherited from FCustomStatIDGraphTaskBase | |
| FCustomStatIDGraphTaskBase (const TStatId &StatId) | |
| TStatId | GetStatId () const |
Static Public Member Functions | |
| static ESubsequentsMode::Type | GetSubsequentsMode () |
FNullGraphTask is a task that does nothing. It can be used to "gather" tasks into one prerequisite.
|
inline |
Constructor
| StatId | The stat id for this task. |
| InDesiredThread; | Thread to run on, can be ENamedThreads::AnyThread |
|
inline |
Actually execute the task.
| 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. |
|
inline |
Retrieve the thread that this task wants to run on.
|
inlinestatic |