Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
Include |
#include "Async/TaskGraphInterfaces.h" |
class FCompletionList
List of tasks that can be "joined" into one task which can be waited on or used as a prerequisite. Note, these are FGraphEventRef's, but we manually manage the reference count instead of using a smart pointer
Name | Description | ||
---|---|---|---|
|
Add ( |
Adds a task to the completion list, can be called from any thread |
|
|
ChainWaitForPrerequisites ( |
Task function that waits until any newly added pending commands complete before it completes, forming a chain |
|
|
FGraphEventR... |
CreatePrerequisiteCompletionHandle ( |
Create a completion handle that represents the completion of all pending tasks This is complicated by the fact that some of the tasks we are waiting for might also add tasks So it is recursive and the task we call here uses DontCompleteUntil to build the chain this should always be called from the same thread. |