/Engine/Source/Runtime/Renderer/Public/ShaderPrintParameters.h
In shader: FSTRINGS(MyVariable) void foo() { InitShaderPrintContext Ctx = InitShaderPrintContext(...); PrintMyVariable(Ctx, StringId, FontWhite); }
struct FStrings