Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Calculates a Hash for the list of filenames if it does not already exist in the Hash cache.
Calculates a Hash for the given filename and its includes if it does not already exist in the Hash cache.
| Name | GetShaderFilesHash |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include Path | #include "ShaderCore.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp |
const FSHAHash & GetShaderFilesHash
(
const TArray < FString > & VirtualFilePaths,
EShaderPlatform ShaderPlatform
)
Parameters
| Name | Remarks |
|---|---|
| Filename | shader file to Hash |
| ShaderPlatform | shader platform to Hash |