Editor/ShaderGraphPlus/Compiler/Templates/HLSLIncludeTemplate.cs

A small static class that holds a string template for generating HLSL include guards and a code block. It exposes a single public string Contents formatted with three placeholders for a header guard name, some leading text, and the inner lines.

namespace ShaderGraphPlus;

public static class HLSLIncludeTemplate
{
	public static string Contents => @"
#ifndef {0}_H
#define {0}_H	

	{1}
	{{
{2}
	}}

#endif // {0}_H
";
}