![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DataflowContextAssetStore.h>
Inheritance diagram for UE::Dataflow::FContextAssetStore:Public Member Functions | |
| DATAFLOWCORE_API UObject * | AddAsset (const FString &PersistentAssetPath, const UClass *AssetClass) |
| DATAFLOWCORE_API UObject * | CommitAsset (const FString &TransientAssetPath) |
| DATAFLOWCORE_API UObject * | CommitAsset (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 () |
| FGCObject & | operator= (const FGCObject &) |
| FGCObject & | operator= (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 UGCObjectReferencer * | GGCObjectReferencer = nullptr |
asset store to managed creation and storage of assets during the evaluation of the Dataflow graph
| 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
|
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.
| Collector | The collector of referenced objects. |
Implements FGCObject.
| void UE::Dataflow::FContextAssetStore::ClearAssets | ( | ) |
Clear all assets from the store
| 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
Commit the asset matching the TransientAsset If such asset was added previously this will duplicate it and save it to a package matching AssetPath
|
inlineoverridevirtual |
Overload this method to report a name for your referencer
Implements FGCObject.