Navigation
API > API/Plugins > API/Plugins/SemanticSearch
| Name | FAssetProcessorManager |
| Type | class |
| Header File | /Engine/Plugins/Experimental/SemanticSearch/Source/SemanticSearch/Public/AssetProcessorManager.h |
| Include Path | #include "AssetProcessorManager.h" |
Syntax
class FAssetProcessorManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetProcessorManager() |
AssetProcessorManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAssetProcessorManager() |
AssetProcessorManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetTypeToProcessor | TMap< FTopLevelAssetPath, TSharedPtr< IAssetProcessor > > | AssetProcessorManager.h | ||
| AssetTypeToProcessorLock | FRWLock | AssetProcessorManager.h | ||
| BuildsJobs | TStripedMap< 32, DerivedData::FCacheKey, TSharedRef< Private::FSemanticSearchBuildCacheTask > > | AssetProcessorManager.h | ||
| CachedSupportedAssetCount | TAtomic< int32 > | AssetProcessorManager.h | ||
| OnAssetAddedHandle | FDelegateHandle | AssetProcessorManager.h | ||
| OnAssetRemovedHandle | FDelegateHandle | AssetProcessorManager.h | ||
| OnHotReloadCompleteHandle | FDelegateHandle | AssetProcessorManager.h | ||
| OnModuleUnloadedHandle | FDelegateHandle | AssetProcessorManager.h | ||
| OnObjectsReinstancedHandle | FDelegateHandle | AssetProcessorManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BatchGetIndexingData
(
TConstArrayView< FAssetData > Assets, |
Batch-fetch indexing data for multiple assets in a single DDC Get() call. | AssetProcessorManager.h | |
void BatchGetQuantizedIndexingData
(
TConstArrayView< FAssetData > Assets, |
Same as BatchGetIndexingData but for the quantized path. | AssetProcessorManager.h | |
void CancelAllTasks() |
Cancel all in-flight build tasks and clear the jobs map. | AssetProcessorManager.h | |
void ClearBuildCache() |
Clear all cached build tasks. Necessary before re-indexing to ensure fresh DDC lookups. | AssetProcessorManager.h | |
bool GetCaptionData
(
const FAssetData& InAssetData, |
AssetProcessorManager.h | ||
bool GetEmbeddingData
(
const FAssetData& InAssetData, |
AssetProcessorManager.h | ||
bool GetIndexingData
(
const FAssetData& InAssetData, |
Fetch caption + float embedding in a single call (both DDC requests issued in parallel). | AssetProcessorManager.h | |
TSharedPtr< IAssetProcessor > GetProcessorForAsset
(
const FAssetData& InAssetData |
Returns the processor for the asset's class. May return null. | AssetProcessorManager.h | |
bool GetQuantizedEmbeddingData
(
const FAssetData& InAssetData, |
AssetProcessorManager.h | ||
bool GetQuantizedIndexingData
(
const FAssetData& InAssetData, |
Fetch caption + quantized codes in a single call (both DDC requests issued in parallel). | AssetProcessorManager.h | |
int32 GetSupportedAssetCount () |
Returns the total number of supported assets in indexed folders. | AssetProcessorManager.h | |
TSet< FName > GetSupportedClassNames() |
Returns short class names of every asset class currently handled by a registered processor, including derived subclasses populated via PopulateChildClassesCache. | AssetProcessorManager.h | |
void InvalidateSupportedAssetCount () |
Force-invalidate the supported asset count cache (e.g. when IndexedPaths changes). | AssetProcessorManager.h | |
void RegisterAssetProcessor () |
AssetProcessorManager.h | ||
void UnregisterAssetProcessor () |
AssetProcessorManager.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAssetProcessorManager & Get() |
AssetProcessorManager.h |