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

#include <DataflowContextAssetStore.h>

+ Inheritance diagram for UE::Dataflow::IContextAssetStoreInterface:

Public Member Functions

template<typename T >
T * AddAssetTyped (const FString &AssetPath)
 
virtual UObjectAddAsset (const FString &PersistentAssetPath, const UClass *AssetClass)=0
 
virtual UObjectCommitAsset (const FString &TransientAssetPath)=0
 
virtual void ClearAssets ()=0
 

Detailed Description

interface to be implemented by the context that expose the asset store API

Member Function Documentation

◆ AddAsset()

virtual UObject * UE::Dataflow::IContextAssetStoreInterface::AddAsset ( const FString &  PersistentAssetPath,
const UClass AssetClass 
)
pure virtual

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

Implemented in UE::Dataflow::FContext, and UE::Dataflow::SubGraphNodes::Private::FContextSubGraph.

◆ AddAssetTyped()

template<typename T >
T * UE::Dataflow::IContextAssetStoreInterface::AddAssetTyped ( const FString &  AssetPath)
inline

Typed version of the AddAsset virtual method

See also
AddAsset

◆ ClearAssets()

virtual void UE::Dataflow::IContextAssetStoreInterface::ClearAssets ( )
pure virtual

Clear all assets from the store

Implemented in UE::Dataflow::FContext, and UE::Dataflow::SubGraphNodes::Private::FContextSubGraph.

◆ CommitAsset()

virtual UObject * UE::Dataflow::IContextAssetStoreInterface::CommitAsset ( const FString &  TransientAssetPath)
pure virtual

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

Implemented in UE::Dataflow::FContext, and UE::Dataflow::SubGraphNodes::Private::FContextSubGraph.


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