Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FFunctionGraphTask
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGraphEventRef CreateAndDispatchWhenReady
(
TUniqueFunction< void()> InFunction, |
Create a task and dispatch it when the prerequisites are complete | Async/TaskGraphInterfaces.h | |
static FGraphEventRef CreateAndDispatchWhenReady
(
TUniqueFunction< void(ENamedThreads::Type, const FGraphEventRef&)> InFunction, |
Async/TaskGraphInterfaces.h | ||
static FGraphEventRef CreateAndDispatchWhenReady
(
TUniqueFunction< void()> InFunction, |
Create a task and dispatch it when the prerequisites are complete | Async/TaskGraphInterfaces.h | |
static FGraphEventRef CreateAndDispatchWhenReady
(
TUniqueFunction< void(ENamedThreads::Type, const FGraphEventRef&)> InFunction, |
Async/TaskGraphInterfaces.h |
CreateAndDispatchWhenReady(TUniqueFunction< void()>, TStatId, const FGraphEventArray *, 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
(
TUniqueFunction < void> InFunction,
TStatId InStatId,
const FGraphEventArray * InPrerequisites,
ENamedThreads::Type InDesiredThread
)
completion handle for the new task
Parameters
| Name | Remarks |
|---|---|
| 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 |
CreateAndDispatchWhenReady(TUniqueFunction< void(ENamedThreads::Type, const FGraphEventRef &)>, TStatId, const FGraphEventArray *, ENamedThreads::Type)
| Name | CreateAndDispatchWhenReady |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
static FGraphEventRef CreateAndDispatchWhenReady
(
TUniqueFunction < void, const FGraphEventRef &)> InFunction,
TStatId InStatId,
const FGraphEventArray * InPrerequisites,
ENamedThreads::Type InDesiredThread
)
CreateAndDispatchWhenReady(TUniqueFunction< void()>, TStatId, const FGraphEventRef &, 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
(
TUniqueFunction < void> InFunction,
TStatId InStatId,
const FGraphEventRef & InPrerequisite,
ENamedThreads::Type InDesiredThread
)
completion handle for the new task
Parameters
| Name | Remarks |
|---|---|
| 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 |
CreateAndDispatchWhenReady(TUniqueFunction< void(ENamedThreads::Type, const FGraphEventRef &)>, TStatId, const FGraphEventRef &, ENamedThreads::Type)
| Name | CreateAndDispatchWhenReady |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
static FGraphEventRef CreateAndDispatchWhenReady
(
TUniqueFunction < void, const FGraphEventRef &)> InFunction,
TStatId InStatId,
const FGraphEventRef & InPrerequisite,
ENamedThreads::Type InDesiredThread
)