Navigation
API > API/Runtime > API/Runtime/InterchangeCore
References
| Module | InterchangeCore |
| Header | /Engine/Source/Runtime/Interchange/Core/Public/InterchangeTaskSystem.h |
| Include | #include "InterchangeTaskSystem.h" |
Syntax
class FInterchangeTaskSystem
Constructors
| Type | Name | Description | |
|---|---|---|---|
| The constructor should not be called directly, an ensure will be set if its the case Use the static Get function to acces the singleton. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint64 | AddTask
(
TSharedPtr< FInterchangeTaskBase, ESPMode::ThreadSafe > Task |
Add a task without prerequisite. | |
| uint64 | AddTask
(
TSharedPtr< FInterchangeTaskBase, ESPMode::ThreadSafe > Task, |
Add a task with some prerequisites. | |
| void | CancelTask
(
const uint64 TaskId, |
Cancel a task, you can control if you cancel also the prerequisites, and subsequents. | |
| FInterchangeTaskSystem & | Get () |
The interchange task system is a singleton. | |
| EInterchangeTaskStatus | GetTaskStatus
(
const uint64 TaskId |
Return the current task status | |
| FOnInterchangeTaskSystemTick & | |||
| void | WaitUntilTasksComplete
(
const TArray< uint64 >& TasksToComplete |
Wait can be call only on game thread. |
Constants
| Name | Description |
|---|---|
| bIsCreatingSingleton |