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

#include <DataflowContextAssetStore.h>

+ Inheritance diagram for UE::Dataflow::FContextAssetStore:

Public Member Functions

DATAFLOWCORE_API UObjectAddAsset (const FString &PersistentAssetPath, const UClass *AssetClass)
 
DATAFLOWCORE_API UObjectCommitAsset (const FString &TransientAssetPath)
 
DATAFLOWCORE_API UObjectCommitAsset (const UObject *TransientAsset)
 
DATAFLOWCORE_API void ClearAssets ()
 
virtual DATAFLOWCORE_API void AddReferencedObjects (FReferenceCollector &Collector) override
 
virtual FString GetReferencerName () const override
 
- Public Member Functions inherited from FGCObject
 FGCObject ()
 
 FGCObject (const FGCObject &Other)
 
 FGCObject (FGCObject &&Other)
 
 FGCObject (EFlags Flags)
 
virtual ~FGCObject ()
 
FGCObjectoperator= (const FGCObject &)
 
FGCObjectoperator= (FGCObject &&)
 
COREUOBJECT_API void RegisterGCObject ()
 
COREUOBJECT_API void UnregisterGCObject ()
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 

Additional Inherited Members

- Public Types inherited from FGCObject
enum class  EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 }
 
- Static Public Member Functions inherited from FGCObject
static COREUOBJECT_API void StaticInit ()
 
- Static Public Attributes inherited from FGCObject
static COREUOBJECT_API UGCObjectReferencerGGCObjectReferencer = nullptr
 

Detailed Description

asset store to managed creation and storage of assets during the evaluation of the Dataflow graph

Member Function Documentation

◆ AddAsset()

UObject * UE::Dataflow::FContextAssetStore::AddAsset ( const FString &  PersistentAssetPath,
const UClass AssetClass 
)

Create an new asset to be commited later ( when the terminal nodes are evaluated ) When commited, the asset will be duplicated to a final package matching PersistentAssetPath

Returns
an UObject owned by the transient package

◆ AddReferencedObjects()

void UE::Dataflow::FContextAssetStore::AddReferencedObjects ( FReferenceCollector Collector)
overridevirtual

Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.

Parameters
CollectorThe collector of referenced objects.

Implements FGCObject.

◆ ClearAssets()

void UE::Dataflow::FContextAssetStore::ClearAssets ( )

Clear all assets from the store

◆ CommitAsset() [1/2]

UObject * UE::Dataflow::FContextAssetStore::CommitAsset ( const FString &  TransientAssetPath)

Commit the asset matching the TransientAssetPath If such asset was added previously this will duplicate it and save it to a persistent package

Returns
the newly created persistent UObject asset

◆ CommitAsset() [2/2]

UObject * UE::Dataflow::FContextAssetStore::CommitAsset ( const UObject TransientAsset)

Commit the asset matching the TransientAsset If such asset was added previously this will duplicate it and save it to a package matching AssetPath

Returns
the newly created persistent UObject asset

◆ GetReferencerName()

virtual FString UE::Dataflow::FContextAssetStore::GetReferencerName ( ) const
inlineoverridevirtual

Overload this method to report a name for your referencer

Implements FGCObject.


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