Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Saves stable pipeline cache file.
The cache file is saved together with the stable shader keys file that were used to map its hashes to the build-agnostic ("stable") shader identifier.
| Name | UE::PipelineCacheUtilities::SaveStablePipelineCacheFile |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/PipelineCacheUtilities.h |
| Include Path | #include "PipelineCacheUtilities.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/PipelineCacheUtilities.cpp |
namespace UE
{
namespace PipelineCacheUtilities
{
bool UE::PipelineCacheUtilities::SaveStablePipelineCacheFile
(
const FString & OutputFilename,
const TArray < FPermsPerPSO > & StableResults,
const TArray < FStableShaderKeyAndValue > & StableShaderKeyIndexTable
)
}
}
Parameters
| Name | Remarks |
|---|---|
| OutputFilename | file name for the binary file |
| StableResults | an array of PSOs together with all permutations allowed for it |
| StableShaderKeyIndexTable | the table of build-agnostic shader keys |