Navigation
API > API/Runtime > API/Runtime/RenderCore
Class that uses build metadata (*.shk files storing mapping of stable shader keys to their hashes) to provide high level info on shaders and PSOs.
| Name | FShaderStableKeyDebugInfoReader |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderStableKeyDebugInfoReader.h |
| Include Path | #include "ShaderStableKeyDebugInfoReader.h" |
Syntax
class FShaderStableKeyDebugInfoReader
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ShaderHashesToSource | TMap< FSHAHash, TSet< FStableShaderKeyAndValue > > | Maps shader hashes to their sources. | ShaderStableKeyDebugInfoReader.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DumpPSOToLogIfConfigured
(
const FGraphicsPipelineStateInitializer& Initializer |
Prints a pipeline info to log if configured to do so. | ShaderStableKeyDebugInfoReader.h | |
FString GetPSOStableNameOptions
(
const FGraphicsPipelineStateInitializer& Initializer, |
Returns a string describing a PSO (shaders only). | ShaderStableKeyDebugInfoReader.h | |
FString GetShaderStableNameOptions
(
const FSHAHash& ShaderHash, |
Returns a string describing a shader. | ShaderStableKeyDebugInfoReader.h | |
bool Initialize
(
const FString& ShaderStableKeyFile |
Initializes the class with a pointer to directory holding SHK files | ShaderStableKeyDebugInfoReader.h | |
bool IsInitialized() |
Whether the info reader is usable | ShaderStableKeyDebugInfoReader.h |