![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "PipelineFileCache.h"#include "Containers/List.h"#include "Containers/Ticker.h"#include "PipelineStateCache.h"#include "HAL/IConsoleManager.h"#include "Misc/EngineVersion.h"#include "HAL/PlatformFile.h"#include "Serialization/MemoryReader.h"#include "Misc/CommandLine.h"#include "Serialization/MemoryWriter.h"#include "DataDrivenShaderPlatformInfo.h"#include "Misc/ScopeRWLock.h"#include "Misc/Paths.h"#include "Async/AsyncFileHandle.h"#include "HAL/PlatformFileManager.h"#include "Misc/FileHelper.h"#include "ProfilingDebugging/CsvProfiler.h"#include "RHIStrings.h"#include "String/LexFromString.h"#include "String/ParseTokens.h"#include "Misc/ScopeExit.h"#include <Algo/ForEach.h>Classes | |
| struct | FPipelineCacheFileFormatHeader |
| struct | FPipelineCacheFileFormatPSOMetaData |
| struct | FPipelineCacheFileFormatTOC |
| class | FPipelineCacheFile |
| struct | FPipelineCacheFileData |
Enumerations | |
| enum class | EPipelineCacheFileFormatVersions : uint32 { FirstWorking = 7 , LibraryID = 9 , ShaderMetaData = 10 , SortedVertexDesc = 11 , TOCMagicGuard = 12 , PSOUsageMask = 13 , PSOBindCount = 14 , EOFMarker = 15 , EngineFlags = 16 , Subpass = 17 , PatchSizeReduction_NoDuplicatedGuid = 18 , AlphaToCoverage = 19 , AddingMeshShaders = 20 , RemovingTessellationShaders = 21 , LastUsedTime = 22 , MoreRenderTargetFlags = 23 , FragmentDensityAttachment = 24 , AddingDepthClipMode = 25 , BeforeStableCacheVersioning = 26 , RemovingLineAA = 27 , AddingDepthBounds = 28 , AddRTPSOShaderBindingLayout = 29 , VariableRateShading = 30 } |
Variables | |
| const uint64 | FPipelineCacheFileFormatMagic = 0x5049504543414348 |
| const uint64 | FPipelineCacheTOCFileFormatMagic = 0x544F435354415232 |
| const uint64 | FPipelineCacheEOFFileFormatMagic = 0x454F462D4D41524B |
| const RHI_API uint32 | FPipelineCacheFileFormatCurrentVersion = (uint32)EPipelineCacheFileFormatVersions::AddRTPSOShaderBindingLayout |
| const int32 | FPipelineCacheGraphicsDescPartsNum = 67 |
| const uint16 | FPipelineCacheFlagInvalidPSO = 1 << 0 |
|
strong |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("New Compute Pipeline State Count") | , |
| STAT_NewComputePipelineStateCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("New Graphics Pipeline State Count") | , |
| STAT_NewGraphicsPipelineStateCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("New RayTracing Pipeline State Count") | , |
| STAT_NewRayTracingPipelineStateCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Serialized Compute Pipeline State Count") | , |
| STAT_SerializedComputePipelineStateCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Serialized Graphics Pipeline State Count") | , |
| STAT_SerializedGraphicsPipelineStateCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("Serialized RayTracing Pipeline State Count") | , |
| STAT_SerializedRayTracingPipelineStateCount | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_MEMORY_STAT | ( | TEXT("File Cache") | , |
| STAT_FileCacheMemory | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_MEMORY_STAT | ( | TEXT("New Cached PSO") | , |
| STAT_NewCachedPSOMemory | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| DECLARE_MEMORY_STAT | ( | TEXT("PSO Stat") | , |
| STAT_PSOStatMemory | , | ||
| STATGROUP_PipelineStateCache | |||
| ) |
| uint32 GetTypeHash | ( | const FPipelineCacheFileFormatPSO & | Key | ) |
| void LexFromString | ( | ETextureCreateFlags & | OutValue, |
| const FStringView & | InString | ||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FPipelineCacheFileFormatPSO & | Info | ||
| ) |
| RHI_API FArchive & operator<< | ( | FArchive & | Ar, |
| FPipelineFileCacheRasterizerState & | RasterizerStateInitializer | ||
| ) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FPipelineStateStats & | Info | ||
| ) |
| const uint64 FPipelineCacheEOFFileFormatMagic = 0x454F462D4D41524B |
| const RHI_API uint32 FPipelineCacheFileFormatCurrentVersion = (uint32)EPipelineCacheFileFormatVersions::AddRTPSOShaderBindingLayout |
| const uint64 FPipelineCacheFileFormatMagic = 0x5049504543414348 |
| const int32 FPipelineCacheGraphicsDescPartsNum = 67 |
| const uint64 FPipelineCacheTOCFileFormatMagic = 0x544F435354415232 |