Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
Include |
#include "ShaderCore.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp |
const FSHAHash & GetShaderFileHash
(
const TCHAR * VirtualFilePath,
EShaderPlatform ShaderPlatform
)
Calculates a Hash for the given filename 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.
Parameter |
Description |
---|---|
Filename |
shader file to Hash |
ShaderPlatform |
shader platform to Hash |
Filename |
shader file to Hash |
ShaderPlatform |
shader platform to Hash |