UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::AssetRegistry::FSetManageReferencesContext Struct Reference

#include <IAssetRegistry.h>

Public Attributes

const TMultiMap< FAssetIdentifier, FAssetIdentifier > * ManagerMap = nullptr
 
bool bClearExisting = false
 
EDependencyCategory RecurseType = EDependencyCategory::None
 
TOptional< TFunctionRef< EAssetSetManagerResult::Type(FShouldSetManagerContext &Context)> > ShouldSetManager
 
TPimplPtr< FSetManageReferencesScratchScratch
 

Detailed Description

Information passed into SetManageReferences from ther caller. Includes arguments for the call as well as scratch space data that is shared across multiple SetManageReferences calls conducted by the caller for different priorities of managers.

Member Data Documentation

◆ bClearExisting

bool UE::AssetRegistry::FSetManageReferencesContext::bClearExisting = false

If true, will clear any existing manage dependencies. Should be set only for the first call.

◆ ManagerMap

const TMultiMap<FAssetIdentifier, FAssetIdentifier>* UE::AssetRegistry::FSetManageReferencesContext::ManagerMap = nullptr

Map from Managing asset to directly-managed assets for the current call to SetManageReferences.

◆ RecurseType

EDependencyCategory UE::AssetRegistry::FSetManageReferencesContext::RecurseType = EDependencyCategory::None

Dependency types to follow during the graph search out from the starting nodes in ManagerMap.

◆ Scratch

TPimplPtr<FSetManageReferencesScratch> UE::AssetRegistry::FSetManageReferencesContext::Scratch

Scratch variable that will be constructed during the call, and should not be modified by the caller but should be preserved across a series of calls to SetManageReferences for managers of different priorities

◆ ShouldSetManager

TOptional<TFunctionRef<EAssetSetManagerResult::Type(FShouldSetManagerContext& Context)> > UE::AssetRegistry::FSetManageReferencesContext::ShouldSetManager

Predicate that is called on recursive dependencies if bound, returns whether the graph search should visit a target node from a source node and whether that visit should be recursive.


The documentation for this struct was generated from the following file: