Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore
Description
Copy selected session files from the inventory to a local directory. Shows progress via FScopedProgressTask. Files already present with matching size are skipped.
| Name | CacheSessionFiles |
| Type | function |
| Header File | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Public/ShaderAuditSession.h |
| Include Path | #include "ShaderAuditSession.h" |
| Source | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Private/ShaderAuditSessionCache.cpp |
FSessionFileInventory CacheSessionFiles
(
const FSessionFileInventory & Inventory,
const FString & DestDir,
const FSessionCacheOptions & Options
)
Paths to the local copies (same structure as inventory, but local)
Parameters
| Name | Remarks |
|---|---|
| Inventory | Gathered file inventory |
| DestDir | Local directory to copy into (preserves subfolder structure) |
| Options | Which categories to copy |