Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/PipelineFileCache.h |
| Include | #include "PipelineFileCache.h" |
Syntax
class FPipelineFileCacheManager
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CacheComputePSO
(
uint32 RunTimeHash, |
||
| void | CacheGraphicsPSO
(
uint32 RunTimeHash, |
||
| void | CacheRayTracingPSO
(
const FRayTracingPipelineStateInitializer& Initializer, |
||
| void | |||
| void | FetchPSODescriptors
(
const FString& PSOCacheKey, |
||
| uint64 | |||
| void | GetOrderedPSOHashes
(
const FString& PSOCacheKey, |
||
| int32 | GetTotalPSOCount
(
const FString& PSOCacheKey |
||
| bool | HasPipelineFileCache
(
const FString& PSOCacheKey |
True if the named PSOFC is currently open. | |
| void | Initialize
(
uint32 GameVersion |
||
| bool | |||
| bool | |||
| bool | LoadPipelineFileCacheInto
(
FString const& Path, |
||
| bool | Report additional data about new PSOs to the log. | ||
| bool | |||
| bool | MergePipelineFileCaches
(
FString const& PathA, |
||
| uint32 | |||
| FPipelineStateLoggedEvent & | Gets the event delegate to register for pipeline state logging events. | ||
| bool | OpenPipelineFileCache
(
const FString& Key, |
Open the pipeline file cache for the specfied name and platform. | |
| bool | OpenUserPipelineFileCache
(
const FString& Key, |
Open the user pipeline file cache for the specified name and platform. | |
| void | |||
| void | RegisterPSOCompileFailure
(
uint32 RunTimeHash, |
This PSO has failed compile and is invalid - this cache should not return this invalid PSO from subsequent calls for PreCompile requests. | |
| FPipelineStateStats * | RegisterPSOStats
(
uint32 RunTimeHash |
||
| bool | |||
| bool | SavePipelineFileCache
(
SaveMode Mode |
||
| bool | SavePipelineFileCacheFrom
(
uint32 GameVersion, |
||
| uint64 | SetGameUsageMaskWithComparison
(
uint64 GameUsageMask, |
Define the Current Game Usage Mask and a comparison function to compare this mask against the recorded mask in each PSO | |
| void | SetNewPSOConsoleAndCSVLogging
(
bool bEnabled |
Enable or disable the logging of new PSOs (PSOs that were needed but not found in the file cache) to console and CSV. | |
| void | Shutdown () |
Enums
Typedefs
| Name | Description |
|---|---|
| FPipelineStateLoggedEvent | Event signature for being notified that a new PSO has been logged |
Constants
| Name | Description |
|---|---|
| FileCacheEnabled | |
| FileCacheLock | |
| FileCacheMap | Containers for the multiple bundled PSOFCs Name to PipelineCacheFile |
| GameGuidToCacheKey | PipelineCacheFile GUID to Name. |
| GameUsageMask | |
| GameUsageMaskSet | |
| LogNewPSOsToConsoleAndCSV | |
| MaskComparisonFn | |
| NewPSOHashes | |
| NewPSOs | |
| NewPSOUsage | |
| NumNewPSOs | |
| PSOLoggedEvent | |
| RequestedOrder | |
| RunTimeToPSOUsage | PSO recording. |
| Stats | |
| UserCacheKey | User cache's key within FileCacheMap. |