Navigation
API > API/Plugins > API/Plugins/MeshPartitionEditor
Captures the current state of a single mesh partition build variant, and manages what needs to be done to bring it up to date
| Name | FMeshPartitionUpdater |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshPartition/Source/MeshPartitionEditor/Public/MeshPartitionWorldUpdater.h |
| Include Path | #include "MeshPartitionWorldUpdater.h" |
Syntax
struct FMeshPartitionUpdater
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshPartitionUpdater
(
const FGuid& InBuildKey, |
MeshPartitionWorldUpdater.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorGuidToCompiledSectionIndex | TMap< FGuid, int32 > | Maps a compiled section actor guid to its index in the CompiledSections array. | MeshPartitionWorldUpdater.h | |
| AddedPlaceholderCompiledSections | int32 | MeshPartitionWorldUpdater.h | ||
| AllCachedDescriptors | TSharedPtr< MeshPartition::FCachedDescriptors > | This shared ptr keeps the MeshPartition::FCachedDescriptors and all sub-structures (including the CompiledSections array) alive until we are done with our operation | MeshPartitionWorldUpdater.h | |
| BuildVariantUpdaters | TMap< FName, FBuildVariantUpdater > | Updater for each build variant, indexed by build variant name. | MeshPartitionWorldUpdater.h | |
| CompiledSections | TConstArrayView< FCompiledSectionDescriptor > | The set of existing compiled sections for our mesh partition (across ALL build variants) - this points into the array inside AllCachedDescriptors | MeshPartitionWorldUpdater.h | |
| CompiledSectionStatus | TArray< MeshPartition::FCompiledSectionStatus > | Status of each compiled section (array is 1:1 with CompiledSections above) | MeshPartitionWorldUpdater.h | |
| MeshPartition | TWeakObjectPtr< const AMeshPartition > | MeshPartition actor that owns this updater. | MeshPartitionWorldUpdater.h | |
| RemovedNonTargetBuildVariant | int32 | MeshPartitionWorldUpdater.h | ||
| RemovedOutOfDate | int32 | Stats for what was updated (NOTE that if this updater is used on multiple copies of the world, i.e. during multi-head PIE, then these stats are aggregated) | MeshPartitionWorldUpdater.h | |
| RemovedUnknown | int32 | MeshPartitionWorldUpdater.h | ||
| ReusedCompiledSections | int32 | MeshPartitionWorldUpdater.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForAllBuildVariants
(
TFunctionRef< bool(const MeshPartition::FBuildVariantUpdater&)> InFunc |
MeshPartitionWorldUpdater.h | ||
const FBuildVariantUpdater * GetBuildVariantUpdater
(
const FName& BuildVariantName |
MeshPartitionWorldUpdater.h | ||
const FCompiledSectionDescriptor * GetCompiledSectionDescriptor
(
int32 CompiledSectionIndex |
MeshPartitionWorldUpdater.h | ||
const FCompiledSectionStatus * GetCompiledSectionStatus
(
int32 CompiledSectionIndex |
MeshPartitionWorldUpdater.h | ||
const FCompiledSectionStatus * GetCompiledSectionStatus
(
const ACompiledSection* CompiledSection |
MeshPartitionWorldUpdater.h | ||
void GetStatusSummary
(
FStatusSummary& InOutSummary |
MeshPartitionWorldUpdater.h |