Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderCodeLibrary.h |
Include |
#include "ShaderCodeLibrary.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/ShaderCodeLibrary.cpp |
static bool NeedsShaderStableKeys
(
EShaderPlatform ShaderPlatform
)
We check this early in the callstack to avoid creating a bunch of FName and keys and things we will never save anyway. Pass the shader platform to check or EShaderPlatform::SP_NumPlatforms to check if any of the registered types require stable keys.