![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "ShaderPipelineCache.h"#include "Containers/List.h"#include "Misc/Paths.h"#include "Misc/App.h"#include "Serialization/MemoryReader.h"#include "RHICommandList.h"#include "RenderUtils.h"#include "Misc/EngineVersion.h"#include "PipelineStateCache.h"#include "PipelineFileCache.h"#include "Misc/ScopeLock.h"#include "Misc/CoreDelegates.h"#include "ShaderCodeLibrary.h"#include "TickableObjectRenderThread.h"#include "Misc/ConfigCacheIni.h"#include "Async/AsyncFileHandle.h"#include <Algo/RemoveIf.h>#include "Modules/BuildVersion.h"Classes | |
| class | FShaderPipelineCacheArchive |
| class | FShaderPipelineCacheTask |
Namespaces | |
| namespace | FShaderPipelineCacheConstants |
| namespace | UE |
| namespace | UE::ShaderPipeline |
Variables | |
| int32 | GShaderPipelineCacheDoNotPrecompileComputePSO = PLATFORM_ANDROID |
| bool | GShaderPipelineCacheDoNotPrecompileRayTracingPSO = false |
| void ConsoleCommandClosePipelineFileCache | ( | ) |
| void ConsoleCommandLoadPipelineFileCache | ( | ) |
| void ConsoleCommandSavePipelineFileCache | ( | ) |
| DECLARE_CYCLE_STAT | ( | TEXT("Pre-Compile Time") | , |
| STAT_PreCompileTime | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Active Tasks") | , |
| STAT_ShaderPipelineActiveTaskCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Outstanding Tasks") | , |
| STAT_ShaderPipelineTaskCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
Shader Pipeline Precompilation Cache Precompilation half of the shader pipeline cache, which builds on the runtime RHI pipeline cache.
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Total Batches Pre-Compiled") | , |
| STAT_PreCompileBatchTotal | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Total Pipelines Pre-Compiled") | , |
| STAT_PreCompileShadersTotal | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Waiting Tasks") | , |
| STAT_ShaderPipelineWaitingTaskCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("# Batches Pre-Compiled") | , |
| STAT_PreCompileBatchNum | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_COUNTER_STAT | ( | TEXT("# Pipelines Pre-Compiled") | , |
| STAT_PreCompileShadersNum | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_FLOAT_ACCUMULATOR_STAT | ( | TEXT("Total Pre-Compile Time") | , |
| STAT_PreCompileTotalTime | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_MEMORY_STAT | ( | TEXT("Pre-Compile Memory") | , |
| STAT_PreCompileMemory | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| int32 GShaderPipelineCacheDoNotPrecompileComputePSO = PLATFORM_ANDROID |