![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ShaderStableKeyDebugInfoReader.h>
Public Member Functions | |
| bool | IsInitialized () const |
| bool | Initialize (const FString &ShaderStableKeyFile) |
| FString | GetShaderStableNameOptions (const FSHAHash &ShaderHash, int32 MaxOptionsToInclude=16) |
| FString | GetPSOStableNameOptions (const FGraphicsPipelineStateInitializer &Initializer, int32 MaxOptionsToInclude=16) |
| void | DumpPSOToLogIfConfigured (const FGraphicsPipelineStateInitializer &Initializer) |
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.
| void UE::ShaderUtils::FShaderStableKeyDebugInfoReader::DumpPSOToLogIfConfigured | ( | const FGraphicsPipelineStateInitializer & | Initializer | ) |
Prints a pipeline info to log if configured to do so.
| FString UE::ShaderUtils::FShaderStableKeyDebugInfoReader::GetPSOStableNameOptions | ( | const FGraphicsPipelineStateInitializer & | Initializer, |
| int32 | MaxOptionsToInclude = 16 |
||
| ) |
Returns a string describing a PSO (shaders only). Because of shader deduplication there can be several multiple (thousands) possible options.
| FString UE::ShaderUtils::FShaderStableKeyDebugInfoReader::GetShaderStableNameOptions | ( | const FSHAHash & | ShaderHash, |
| int32 | MaxOptionsToInclude = 16 |
||
| ) |
Returns a string describing a shader. Because of shader deduplication there can be several multiple (thousands) possible options
| bool UE::ShaderUtils::FShaderStableKeyDebugInfoReader::Initialize | ( | const FString & | ShaderStableKeyFile | ) |
Initializes the class with a pointer to directory holding SHK files
|
inline |
Whether the info reader is usable