![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TaskGraphInterfaces.h>
Public Member Functions | |
| FReturnGraphTask (ENamedThreads::Type InThreadToReturnFrom) | |
| UE_FORCEINLINE_HINT TStatId | GetStatId () const |
| ENamedThreads::Type | GetDesiredThread () |
| void | DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent) |
Static Public Member Functions | |
| static ESubsequentsMode::Type | GetSubsequentsMode () |
FReturnGraphTask is a task used to return flow control from a named thread back to the original caller of ProcessThreadUntilRequestReturn
|
inline |
Constructor
| InThreadToReturnFrom; | named thread to cause to return |
|
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.
|
inline |
|
inlinestatic |