Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore
Inventory of all files associated with a session Used to present caching options to the user before copying.
| Name | FSessionFileInventory |
| Type | struct |
| Header File | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Public/ShaderAuditSession.h |
| Include Path | #include "ShaderAuditSession.h" |
Syntax
struct FSessionFileInventory
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BytecodeFiles | TArray< FString > | Shader bytecode archives in ../ShaderLibrarySource/ (full paths). | ShaderAuditSession.h | |
| BytecodeTotalBytes | int64 | ShaderAuditSession.h | ||
| CacheSubDir | FString | Relative cache subdirectory, constructed by Gather(). | ShaderAuditSession.h | |
| DestFilenames | TMap< FString, FString > | Optional source->dest filename remapping for caching. | ShaderAuditSession.h | |
| FileStats | TMap< FString, FFileStatData > | Per-file stat data (full path -> FFileStatData). | ShaderAuditSession.h | |
| SessionName | FString | Parsed session name (e.g. "PCD3D_SM6"). | ShaderAuditSession.h | |
| SHKFiles | TArray< FString > | SHK files (full paths). | ShaderAuditSession.h | |
| SHKTotalBytes | int64 | ShaderAuditSession.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDateTime GetMostRecentTime() |
Most recent modification time across all files in FileStats. | ShaderAuditSession.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< FString > FindSHKSiblings
(
const FString& SHKPath, |
Find all SHK siblings of a given SHK file. | ShaderAuditSession.h | |
static FSessionFileInventory Gather
(
const TArrayView< const FString >& FilesToLoad, |
Discover all session-related files from a list of SHK paths. | ShaderAuditSession.h |