#include <TaskGraphInterfaces.h>
|
| static FGraphEventRef | CreateAndDispatchWhenReady (TUniqueFunction< void()> InFunction, TStatId InStatId=TStatId{}, const FGraphEventArray *InPrerequisites=nullptr, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
| |
| static FGraphEventRef | CreateAndDispatchWhenReady (TUniqueFunction< void(ENamedThreads::Type, const FGraphEventRef &)> InFunction, TStatId InStatId=TStatId{}, const FGraphEventArray *InPrerequisites=nullptr, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
| |
| static FGraphEventRef | CreateAndDispatchWhenReady (TUniqueFunction< void()> InFunction, TStatId InStatId, const FGraphEventRef &InPrerequisite, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
| |
| static FGraphEventRef | CreateAndDispatchWhenReady (TUniqueFunction< void(ENamedThreads::Type, const FGraphEventRef &)> InFunction, TStatId InStatId, const FGraphEventRef &InPrerequisite, ENamedThreads::Type InDesiredThread=ENamedThreads::AnyThread) |
| |
◆ CreateAndDispatchWhenReady() [1/4]
Create a task and dispatch it when the prerequisites are complete
- Parameters
-
| InFunction | - a function to execute when the prerequisites are complete, with signature void() or void(ENamedThreads::Type, const FGraphEventRef&) |
| InStatId | - StatId of task for debugging or analysis tools |
| InPrerequisite | - Handle for a single prerequisite for this task |
| InDesiredThread | - Thread to run on |
- Returns
- completion handle for the new task
◆ CreateAndDispatchWhenReady() [2/4]
Create a task and dispatch it when the prerequisites are complete
- Parameters
-
| InFunction | - a functor object to execute when the prerequisites are complete, with signature void() or void(ENamedThreads::Type, const FGraphEventRef&) |
| InStatId | - StatId of task for debugging or analysis tools |
| InPrerequisites | - Handles for prerequisites for this task, can be NULL if there are no prerequisites |
| InDesiredThread | - Thread to run on |
- Returns
- completion handle for the new task
◆ CreateAndDispatchWhenReady() [3/4]
◆ CreateAndDispatchWhenReady() [4/4]
The documentation for this struct was generated from the following file: