FShaderCodeLibrary::NeedsShaderStableKeys

We check this early in the callstack to avoid creating a bunch of [FName](API\Runtime\Core\UObject\FName) and keys and things we will never save anyway.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/ShaderCodeLibrary.h

Include

#include "ShaderCodeLibrary.h"

Source

/Engine/Source/Runtime/RenderCore/Private/ShaderCodeLibrary.cpp

Syntax

static bool NeedsShaderStableKeys
(
    EShaderPlatform ShaderPlatform
)

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss