#include <PipelineFileCache.h>
|
| static RHI_API void | Initialize (uint32 GameVersion) |
| |
| static RHI_API void | Shutdown () |
| |
| static RHI_API bool | LoadPipelineFileCacheInto (FString const &Path, TSet< FPipelineCacheFileFormatPSO > &PSOs) |
| |
| static RHI_API bool | SavePipelineFileCacheFrom (uint32 GameVersion, EShaderPlatform Platform, FString const &Path, const TSet< FPipelineCacheFileFormatPSO > &PSOs) |
| |
| static RHI_API bool | MergePipelineFileCaches (FString const &PathA, FString const &PathB, FPipelineFileCacheManager::PSOOrder Order, FString const &OutputPath) |
| |
| static RHI_API bool | OpenPipelineFileCache (const FString &Key, const FString &CacheName, EShaderPlatform Platform, FGuid &OutGameFileGuid) |
| |
| static RHI_API bool | OpenUserPipelineFileCache (const FString &Key, const FString &CacheName, EShaderPlatform Platform, FGuid &OutGameFileGuid) |
| |
| static RHI_API bool | SavePipelineFileCache (SaveMode Mode) |
| |
| static RHI_API void | CloseUserPipelineFileCache () |
| |
| static RHI_API void | CacheGraphicsPSO (uint32 RunTimeHash, FGraphicsPipelineStateInitializer const &Initializer, bool bWasPSOPrecached, FPipelineStateStats **OutStats=nullptr) |
| |
| static RHI_API void | CacheComputePSO (uint32 RunTimeHash, FRHIComputeShader const *Initializer, bool bWasPSOPrecached, FPipelineStateStats **OutStats=nullptr) |
| |
| static RHI_API void | CacheRayTracingPSO (const FRayTracingPipelineStateInitializer &Initializer, ERayTracingPipelineCacheFlags Flags) |
| |
| static RHI_API bool | HasPipelineFileCache (const FString &PSOCacheKey) |
| |
| static RHI_API FPipelineStateStats * | RegisterPSOStats (uint32 RunTimeHash) |
| |
| static RHI_API void | RegisterPSOCompileFailure (uint32 RunTimeHash, FGraphicsPipelineStateInitializer const &Initializer) |
| |
| static RHI_API FPipelineStateLoggedEvent & | OnPipelineStateLogged () |
| |
| static RHI_API void | BroadcastNewPSOsDelegate () |
| |
| static RHI_API void | GetOrderedPSOHashes (const FString &PSOCacheKey, TArray< FPipelineCachePSOHeader > &PSOHashes, PSOOrder Order, int64 MinBindCount, TSet< uint32 > const &AlreadyCompiledHashes) |
| |
| static RHI_API void | FetchPSODescriptors (const FString &PSOCacheKey, TDoubleLinkedList< FPipelineCacheFileFormatPSORead * > &LoadedBatch) |
| |
| static RHI_API int32 | GetTotalPSOCount (const FString &PSOCacheKey) |
| |
| static RHI_API uint32 | NumPSOsLogged () |
| |
| static RHI_API bool | IsPipelineFileCacheEnabled () |
| |
| static RHI_API bool | LogPSOtoFileCache () |
| |
| static RHI_API bool | ReportNewPSOs () |
| |
| static RHI_API bool | LogPSODetails () |
| |
| static RHI_API uint64 | SetGameUsageMaskWithComparison (uint64 GameUsageMask, FPSOMaskComparisonFn InComparisonFnPtr) |
| |
| static uint64 | GetGameUsageMask () |
| |
| static bool | IsGameUsageMaskSet () |
| |
| static RHI_API void | PreCompileComplete () |
| |
| static void | SetNewPSOConsoleAndCSVLogging (bool bEnabled) |
| |
◆ PSOOrder
| Enumerator |
|---|
| Default | |
| FirstToLatestUsed | |
| MostToLeastUsed | |
◆ SaveMode
| Enumerator |
|---|
| Incremental | |
| BoundPSOsOnly | |
◆ BroadcastNewPSOsDelegate()
| void FPipelineFileCacheManager::BroadcastNewPSOsDelegate |
( |
| ) |
|
|
static |
◆ CacheComputePSO()
◆ CacheGraphicsPSO()
◆ CacheRayTracingPSO()
◆ CloseUserPipelineFileCache()
| void FPipelineFileCacheManager::CloseUserPipelineFileCache |
( |
| ) |
|
|
static |
◆ DECLARE_MULTICAST_DELEGATE_OneParam()
Event signature for being notified that a new PSO has been logged
◆ FetchPSODescriptors()
◆ GetGameUsageMask()
| static uint64 FPipelineFileCacheManager::GetGameUsageMask |
( |
| ) |
|
|
inlinestatic |
◆ GetOrderedPSOHashes()
◆ GetTotalPSOCount()
| int32 FPipelineFileCacheManager::GetTotalPSOCount |
( |
const FString & |
PSOCacheKey | ) |
|
|
static |
◆ HasPipelineFileCache()
| bool FPipelineFileCacheManager::HasPipelineFileCache |
( |
const FString & |
PSOCacheKey | ) |
|
|
static |
◆ Initialize()
| void FPipelineFileCacheManager::Initialize |
( |
uint32 |
GameVersion | ) |
|
|
static |
◆ IsGameUsageMaskSet()
| static bool FPipelineFileCacheManager::IsGameUsageMaskSet |
( |
| ) |
|
|
inlinestatic |
◆ IsPipelineFileCacheEnabled()
| bool FPipelineFileCacheManager::IsPipelineFileCacheEnabled |
( |
| ) |
|
|
static |
◆ LoadPipelineFileCacheInto()
◆ LogPSODetails()
| bool FPipelineFileCacheManager::LogPSODetails |
( |
| ) |
|
|
static |
◆ LogPSOtoFileCache()
| bool FPipelineFileCacheManager::LogPSOtoFileCache |
( |
| ) |
|
|
static |
◆ MergePipelineFileCaches()
◆ NumPSOsLogged()
| uint32 FPipelineFileCacheManager::NumPSOsLogged |
( |
| ) |
|
|
static |
◆ OnPipelineStateLogged()
| FPipelineFileCacheManager::FPipelineStateLoggedEvent & FPipelineFileCacheManager::OnPipelineStateLogged |
( |
| ) |
|
|
static |
Gets the event delegate to register for pipeline state logging events.
◆ OpenPipelineFileCache()
| bool FPipelineFileCacheManager::OpenPipelineFileCache |
( |
const FString & |
Key, |
|
|
const FString & |
CacheName, |
|
|
EShaderPlatform |
Platform, |
|
|
FGuid & |
OutGameFileGuid |
|
) |
| |
|
static |
◆ OpenUserPipelineFileCache()
| bool FPipelineFileCacheManager::OpenUserPipelineFileCache |
( |
const FString & |
Key, |
|
|
const FString & |
CacheName, |
|
|
EShaderPlatform |
Platform, |
|
|
FGuid & |
OutGameFileGuid |
|
) |
| |
|
static |
◆ PreCompileComplete()
| void FPipelineFileCacheManager::PreCompileComplete |
( |
| ) |
|
|
static |
◆ RegisterPSOCompileFailure()
◆ RegisterPSOStats()
◆ ReportNewPSOs()
| bool FPipelineFileCacheManager::ReportNewPSOs |
( |
| ) |
|
|
static |
◆ SavePipelineFileCache()
| bool FPipelineFileCacheManager::SavePipelineFileCache |
( |
SaveMode |
Mode | ) |
|
|
static |
◆ SavePipelineFileCacheFrom()
◆ SetGameUsageMaskWithComparison()
Define the Current Game Usage Mask and a comparison function to compare this mask against the recorded mask in each PSO
- Parameters
-
| GameUsageMask | Current Game Usage Mask to set, typically from user quality settings |
| InComparisonFnPtr | Pointer to the comparsion function - see above FPSOMaskComparisonFn definition for details |
- Returns
- the old mask
◆ SetNewPSOConsoleAndCSVLogging()
| static void FPipelineFileCacheManager::SetNewPSOConsoleAndCSVLogging |
( |
bool |
bEnabled | ) |
|
|
inlinestatic |
◆ Shutdown()
| void FPipelineFileCacheManager::Shutdown |
( |
| ) |
|
|
static |
◆ FPipelineCacheFile
The documentation for this class was generated from the following files: