/Engine/Source/Runtime/RenderCore/Public/ShaderCore.h
Note: we don't hash the optional attachments in GenerateOutputHash() as they would prevent sharing (e.g. many material share the save VS) can be called after the non optional data was stored in ShaderData
void AddOptionalData ( uint8 Key, const uint8 * ValuePtr, uint32 ValueSize )