Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderMapResourceCode > API/Runtime/RenderCore/FShaderMapResourceCode/FShaderEditorOnlyDataEntry
Description
Sets the symbols for this entry to the given buffer if either unset or the hash of the new buffer is "less" than the hash of the stored buffer. This is done purely for determinism's sake (we always want to store the same copy of symbols in the editoronly data for any given shader bytecode).
| Name | ConditionalSetSymbolBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/Shader.h |
| Include Path | #include "Shader.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ShaderResource.cpp |
void ConditionalSetSymbolBuffer
(
FCompressedBuffer InSymbols
)