UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ShaderStableKeyDebugInfoReader.cpp File Reference

Macros

#define UE_WITH_SHK_READER   (!UE_BUILD_SHIPPING)
 
#define UE_FPTSM_DUMPSHADER(ShaderType)
 

Macro Definition Documentation

◆ UE_FPTSM_DUMPSHADER

#define UE_FPTSM_DUMPSHADER (   ShaderType)
Value:
if (FRHIShader* Shader = Initializer.BoundShaderState.Get##ShaderType()) \
{ \
const FSHAHash& Hash = Shader->GetHash(); \
Output += FString::Printf(TEXT("%s: %s"), TEXT(#ShaderType), *GetShaderStableNameOptions(Hash, MaxOptionsToInclude)); \
}
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition RHIResources.h:854
Definition SecureHash.h:226

◆ UE_WITH_SHK_READER

#define UE_WITH_SHK_READER   (!UE_BUILD_SHIPPING)

Code for reading .shk files and using that information to map shader hashes back to human-readable identifies.