Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FDelegateGraphTask
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGraphEventRef CreateAndDispatchWhenReady
(
const FDelegate& InTaskDeletegate, |
Create a task and dispatch it when the prerequisites are complete | Async/TaskGraphInterfaces.h | |
static FGraphEventRef CreateAndDispatchWhenReady
(
const FDelegate& InTaskDeletegate, |
Create a task and dispatch it when the prerequisites are complete | Async/TaskGraphInterfaces.h |
CreateAndDispatchWhenReady(const FDelegate &, const TStatId, const FGraphEventArray *, ENamedThreads::Type, ENamedThreads::Type)
Description
Create a task and dispatch it when the prerequisites are complete
| Name | CreateAndDispatchWhenReady |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
static FGraphEventRef CreateAndDispatchWhenReady
(
const FDelegate & InTaskDeletegate,
const TStatId InStatId,
const FGraphEventArray * InPrerequisites,
ENamedThreads::Type InCurrentThreadIfKnown,
ENamedThreads::Type InDesiredThread
)
completion handle for the new task
Parameters
| Name | Remarks |
|---|---|
| InTaskDelegate | delegate to execute when the prerequisites are complete |
| InStatId | The stat id for this task. |
| InPrerequisites | Handles for prerequisites for this task, can be NULL if there are no prerequisites |
| InCurrentThreadIfKnown | This thread, if known |
| InDesiredThread | Thread to run on |
CreateAndDispatchWhenReady(const FDelegate &, const TStatId, const FGraphEventRef &, ENamedThreads::Type, ENamedThreads::Type)
Description
Create a task and dispatch it when the prerequisites are complete
| Name | CreateAndDispatchWhenReady |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
static FGraphEventRef CreateAndDispatchWhenReady
(
const FDelegate & InTaskDeletegate,
const TStatId InStatId,
const FGraphEventRef & InPrerequisite,
ENamedThreads::Type InCurrentThreadIfKnown,
ENamedThreads::Type InDesiredThread
)
completion handle for the new task
Parameters
| Name | Remarks |
|---|---|
| InTaskDelegate | delegate to execute when the prerequisites are complete |
| InStatId | The stat id for this task. |
| InPrerequisite | Handle for a single prerequisite for this task |
| InCurrentThreadIfKnown | This thread, if known |
| InDesiredThread | Thread to run on |