Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/PipelineCacheUtilities.h |
| Include | #include "PipelineCacheUtilities.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/PipelineCacheUtilities.cpp |
namespace UE
{
namespace PipelineCacheUtilities
{
bool UE&58;&58;PipelineCacheUtilities&58;&58;LoadStablePipelineCacheFile
&40;
const FString & Filename,
const TMultiMap< FStableShaderKeyAndValue, FSHAHash > & StableMap,
TSet< FPipelineCacheFileFormatPSO > & OutPSOs,
FName & OutTargetPlatform,
int32 & OutPSOsRejected,
int32 & OutPSOsMerged
&41;
}
}
Remarks
Loads stable pipeline cache file.
Parameters
| Name | Description |
|---|---|
| Filename | file to be loaded |
| StableMap | Mapping of the stable (build-agnostic) shader keys to the shader code hashes as of the current moment |
| OutPSOs | the PSOs loaded from that file |
| OutTargetPlatform | target platform for this file |
| OutPSOsRejected | number of PSOs that were rejected during loading (usually because the stable key it used is no longer present in StableMap) |
| OutPSOsMerged | number of PSOs that mapped to the same shader code hashes despite using different build-agnostic ("stable") shader keys. |