Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderLibraryCooker
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCodeLibrary.h |
| Include | #include "ShaderCodeLibrary.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderCodeLibrary.cpp |
static bool NeedsShaderStableKeys
&40;
EShaderPlatform ShaderPlatform
&41;
Remarks
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.