UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ShaderStableKeyDebugInfoReader.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
7#pragma once
8
9#include "ShaderCodeLibrary.h"
10
11namespace UE
12{
13
14namespace ShaderUtils
15{
16
19{
22
23public:
24
26 bool IsInitialized() const { return !ShaderHashesToSource.IsEmpty(); }
27
29 bool Initialize(const FString& ShaderStableKeyFile);
30
32 FString GetShaderStableNameOptions(const FSHAHash& ShaderHash, int32 MaxOptionsToInclude = 16);
33
36
39};
40
41}
42
43}
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition RHIResources.h:4572
Definition SecureHash.h:226
Definition UnrealString.h.inl:34
Definition ShaderStableKeyDebugInfoReader.h:19
FString GetPSOStableNameOptions(const FGraphicsPipelineStateInitializer &Initializer, int32 MaxOptionsToInclude=16)
Definition ShaderStableKeyDebugInfoReader.cpp:70
FString GetShaderStableNameOptions(const FSHAHash &ShaderHash, int32 MaxOptionsToInclude=16)
Definition ShaderStableKeyDebugInfoReader.cpp:36
bool IsInitialized() const
Definition ShaderStableKeyDebugInfoReader.h:26
void DumpPSOToLogIfConfigured(const FGraphicsPipelineStateInitializer &Initializer)
Definition ShaderStableKeyDebugInfoReader.cpp:99
Definition AdvancedWidgetsModule.cpp:13