Navigation
API > API/Runtime > API/Runtime/Core
Templated graph task that is created to execute a specific function
| Name | TGraphTask |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
Syntax
template<typename TTask>
class TGraphTask :
public TConcurrentLinearObject< TGraphTask< TTask >, FTaskGraphBlockAllocationTag > ,
public FBaseGraphTask
Inheritance Hierarchy
- FInheritedContextBase → FTaskBase → FBaseGraphTask → TGraphTask
- FTaskBase → FBaseGraphTask → TGraphTask
- TConcurrentLinearObject → TGraphTask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TGraphTask
(
const FGraphEventArray* InPrerequisites |
Async/TaskGraphInterfaces.h |
Classes
| Name | Remarks |
|---|---|
| FConstructor | This is a helper class returned from the factory. |
Structs
| Name | Remarks |
|---|---|
| CGetStatIdProvider |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TaskStorage | TTypeCompatibleBytes< TTask > | Async/TaskGraphInterfaces.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FConstructor CreateTask
(
const FGraphEventArray* Prerequisites, |
Factory to create a task and return the helper object to construct the embedded task and set it up for execution. | Async/TaskGraphInterfaces.h |