Navigation
API > API/Runtime > API/Runtime/Engine
Result structure returned from all task sync manager operations. This holds an error code as well as the status of the sync point at operation time, if known.
| Name | FTaskSyncResult |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/TaskSyncManager.h |
| Include Path | #include "TaskSyncManager.h" |
Syntax
struct FTaskSyncResult
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Invalid result by default | TaskSyncManager.h | ||
FTaskSyncResult
(
ESyncOperationResult Result, |
Create from an operation result, defaulting to an unknown sync point status | TaskSyncManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OperationResult | ESyncOperationResult | TaskSyncManager.h | ||
| SyncStatus | ESyncPointStatus | TaskSyncManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsValid() |
True if the result has been initialized by an operation | TaskSyncManager.h | |
bool WasActivatedForFrame() |
True if the sync point has already been dispatched for this frame | TaskSyncManager.h | |
bool WasSuccessful() |
True if the operation was successful | TaskSyncManager.h | |
bool WasTaskCreatedForFrame () |
True if a low level task was created this frame for this sync point. | TaskSyncManager.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Treat successful as true for if statements | TaskSyncManager.h |