Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
Handle on a TSharedPtr
This class is used so that multiple build requests can share the same Task.
Handle can be cancelled if it is the only handle left.
Handles have a shared pointer on their build task so that the underlying cache can be cleared without breaking in-flight tasks.
| Name | FBuildTaskHandle |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionMeshBuilderCommon.h |
| Include Path | #include "MeshPartitionMeshBuilderCommon.h" |
Syntax
struct FBuildTaskHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MeshPartitionMeshBuilderCommon.h | |||
FBuildTaskHandle
(
MeshPartition::FBuildTaskHandle&& InHandle |
MeshPartitionMeshBuilderCommon.h | ||
FBuildTaskHandle
(
const MeshPartition::FBuildTaskHandle& InHandle |
MeshPartitionMeshBuilderCommon.h | ||
FBuildTaskHandle
(
const TSharedPtr< MeshPartition::FBuildTask >& InBuildTask |
MeshPartitionMeshBuilderCommon.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FBuildTaskHandle() |
MeshPartitionMeshBuilderCommon.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsCancelled | bool | This can be true without the underlying task being effectively cancelled if it has other existing handles. | MeshPartitionMeshBuilderCommon.h | |
| Task | TSharedPtr< MeshPartition::FBuildTask > | MeshPartitionMeshBuilderCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Cancel() |
MeshPartitionMeshBuilderCommon.h | ||
const TSharedPtr< MeshPartition::FBuildTask > & GetTask() |
MeshPartitionMeshBuilderCommon.h | ||
bool IsCancelled() |
MeshPartitionMeshBuilderCommon.h | ||
bool IsCompleted() |
MeshPartitionMeshBuilderCommon.h | ||
bool Wait() |
MeshPartitionMeshBuilderCommon.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBuildTaskHandle & operator=
(
const MeshPartition::FBuildTaskHandle& InHandle |
MeshPartitionMeshBuilderCommon.h | ||
FBuildTaskHandle & operator=
(
MeshPartition::FBuildTaskHandle&& InHandle |
MeshPartitionMeshBuilderCommon.h |