Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore > API/Plugins/ShaderAuditCore/FSessionFileInventory
Description
Discover all session-related files from a list of SHK paths. The first path is used to derive the session name and directory. All paths are used as the SHK file list (stat'd for sizes unless pre-computed). Bytecode files are discovered relative to the derived build metadata directory (BuildRoot + CacheSubDir for manifest paths, or by walking up the directory hierarchy for non-manifest paths).
For manifest paths (NAS naming convention), resolves to real build paths when the build directory exists, or uses them directly otherwise.
| Name | Gather |
| 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 |
static FSessionFileInventory Gather
(
const TArrayView < const FString > & FilesToLoad,
bool bShowProgress,
const TMap < FString , FFileStatData > * PrecomputedStats
)
Parameters
| Name | Remarks |
|---|---|
| FilesToLoad | SHK file paths (full sibling list). |
| bShowProgress | If true, show a progress dialog. |
| PrecomputedStats | Optional map of path->stat data. Skips stat for paths found here. |