Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FShaderCode > API/Runtime/RenderCore/FShaderCode/AddOptionalData
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
| Include | #include "ShaderCore.h" |
void AddOptionalData
&40;
uint8 Key,
const ANSICHAR &42; InString
&41;
Remarks
Note: we don't hash the optional attachments in GenerateOutputHash() as they would prevent sharing (e.g. many material share the save VS) convenience, silently drops the data if string is too long
Parameters
| Name | Description |
|---|---|
| e.g. | 'n' for the ShaderSourceFileName |