Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
Include |
#include "Async/TaskGraphInterfaces.h" |
class FGraphEvent
A FGraphEvent is a list of tasks waiting for something. These tasks are call the subsequents. A graph event is a prerequisite for each of its subsequents. Graph events have a lifetime managed by reference counting.
No constructors are accessible with public or protected access.
No destructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
AddRef() |
Increases the reference count |
|
|
AddSubsequent ( |
Attempts to a new subsequent task. |
|
|
CheckDontCompleteUntilIsEmpty() |
Verification function to ensure that nobody was tried to add WaitUntil's outside of the context of execution |
|
|
FGraphEventR... |
CreateGraphEvent() |
A factory method to create a graph event. |
|
DispatchSubsequents ( |
"Complete" the event. |
|
|
DispatchSubsequents ( |
"Complete" the event. |
|
|
DontCompleteUntil ( |
Delay the firing of this event until the given event fires. |
|
|
GetRefCount() |
||
|
TaskTrace::F... |
GetTraceId() |
|
|
IsComplete() |
Determine if the event has been completed. This can be used to poll for completion. |
|
|
Release() |
Decreases the reference count and destroys the graph event if it is zero. |
|
|
SetDebugName ( |
Sets a name for the event for debugging purposes. |
|
|
Wait ( |
A convenient short version of `FTaskGraphInterface::WaitUntilTaskCompletes_ |
Name | Description | ||
---|---|---|---|
|
SetGatherThreadForDontCompleteUntil ( |
The feature is not supported anymore. Please remove the call, there's no replacement. |