Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderLibraryCooker
Description
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.
| Name | NeedsShaderStableKeys |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/ShaderCodeLibrary.h |
| Include Path | #include "ShaderCodeLibrary.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderCodeLibrary.cpp |
static bool NeedsShaderStableKeys
(
EShaderPlatform ShaderPlatform
)