Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore
Description
Show a modal dialog letting the user choose which file categories to cache and where to cache them. Returns true if the user clicked Cache, false on Cancel.
| Name | ShowCacheSessionDialog |
| 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 |
bool ShowCacheSessionDialog
(
const FSessionFileInventory & Inventory,
FSessionCacheOptions & OutOptions,
FString & OutCacheDir
)
Parameters
| Name | Remarks |
|---|---|
| Inventory | Gathered file inventory (displayed to the user) |
| OutOptions | Populated with the user's category selections |
| OutCacheDir | Populated with the chosen cache directory |