UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FShaderHashCache Class Reference

Public Member Functions

 FShaderHashCache ()
 
void Initialize ()
 
void UpdateIncludeDirectoryForPreviewPlatform (EShaderPlatform PreviewShaderPlatform, EShaderPlatform ParentShaderPlatform)
 
const FSHAHashFindHash (EShaderPlatform ShaderPlatform, const FString &VirtualFilePath) const
 
FSHAHashAddHash (EShaderPlatform ShaderPlatform, const FString &VirtualFilePath)
 
void RemoveHash (EShaderPlatform ShaderPlatform, const FString &VirtualFilePath)
 
bool ShouldIgnoreInclude (const FString &VirtualFilePath, EShaderPlatform ShaderPlatform) const
 
void Empty ()
 
const FString & GetPlatformIncludeDirectory (EShaderPlatform ShaderPlatform) const
 

Static Public Member Functions

static bool IsPlatformInclude (const FString &VirtualFilePath)
 

Constructor & Destructor Documentation

◆ FShaderHashCache()

FShaderHashCache::FShaderHashCache ( )
inline

Member Function Documentation

◆ AddHash()

FSHAHash & FShaderHashCache::AddHash ( EShaderPlatform  ShaderPlatform,
const FString &  VirtualFilePath 
)
inline

◆ Empty()

void FShaderHashCache::Empty ( )
inline

◆ FindHash()

const FSHAHash * FShaderHashCache::FindHash ( EShaderPlatform  ShaderPlatform,
const FString &  VirtualFilePath 
) const
inline

◆ GetPlatformIncludeDirectory()

const FString & FShaderHashCache::GetPlatformIncludeDirectory ( EShaderPlatform  ShaderPlatform) const
inline

◆ Initialize()

void FShaderHashCache::Initialize ( )
inline

◆ IsPlatformInclude()

static bool FShaderHashCache::IsPlatformInclude ( const FString &  VirtualFilePath)
inlinestatic

◆ RemoveHash()

void FShaderHashCache::RemoveHash ( EShaderPlatform  ShaderPlatform,
const FString &  VirtualFilePath 
)
inline

◆ ShouldIgnoreInclude()

bool FShaderHashCache::ShouldIgnoreInclude ( const FString &  VirtualFilePath,
EShaderPlatform  ShaderPlatform 
) const
inline

◆ UpdateIncludeDirectoryForPreviewPlatform()

void FShaderHashCache::UpdateIncludeDirectoryForPreviewPlatform ( EShaderPlatform  PreviewShaderPlatform,
EShaderPlatform  ParentShaderPlatform 
)
inline

The documentation for this class was generated from the following file: