NVIDIA DeepLearning Dataset Synthesizer (NDDS)
 All Classes Namespaces Functions Variables Typedefs Pages
FRandomAssetStreamer Struct Reference

Public Member Functions

 FRandomAssetStreamer (const FRandomAssetStreamer &OtherStreamer)
 
template<typename AssetClassType >
AssetClassType * GetNextAsset ()
 
FSoftObjectPath GetNextAssetReference ()
 
bool HasAssets () const
 
void Init (const TArray< FDirectoryPath > &InAssetDirectories, UClass *InAssetClass)
 
bool IsLoadingAssets () const
 
FRandomAssetStreameroperator= (const FRandomAssetStreamer &OtherStreamer)
 
void ScanPath ()
 

Protected Member Functions

void LoadNextBatch (bool bAsyncLoad=true)
 
void OnAssetBatchLoaded ()
 

Protected Attributes

TArray< FSoftObjectPath > AllAssetReferences
 
TArray< FDirectoryPath > AssetDirectories
 
FStreamableManager AssetStreamer
 
int32 LastLoadedAssetIndex
 
int32 LastUsedAssetIndex
 
TArray< FSoftObjectPath > LoadedAssetReferences
 
TArray< FSoftObjectPath > LoadingAssetReferences
 
UClass * ManagedAssetClass
 
TSharedPtr< FStreamableHandle > StreamableHandlePtr
 
TSharedPtr
< FRandomAssetStreamerCallback > 
StreamerCallbackPtr
 
int32 UnusedAssetCount
 

Detailed Description

Definition at line 303 of file DRUtils.h.


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