diff --git a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslStringMethod.cs b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslStringMethod.cs index 11c37b53..eb28a312 100644 --- a/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslStringMethod.cs +++ b/src/ComputeSharp.SourceGenerators/IShaderGenerator.CreateBuildHlslStringMethod.cs @@ -450,6 +450,21 @@ namespace ComputeSharp.SourceGenerators } } + /// + /// Produces the series of statements to build the current HLSL source. + /// + /// The sequence of defined constants for the shader. + /// The sequence of static fields referenced by the shader. + /// The sequence of declared types used by the shader. + /// Whether or not the current shader is a compute shader (or a pixel shader). + /// The sequence of instance fields for the current shader. + /// The type of the implicit target texture, if present. + /// Whether the static sampler is used by the shader. + /// The sequence of shared buffers declared by the shader. + /// The sequence of forward method declarations. + /// The sequence of processed methods used by the shader. + /// The body of the entry point of the shader. + /// The series of statements to build the HLSL source to compile to execute the current shader. private static IEnumerable GenerateRenderMethodBody( IEnumerable<(string Name, string Value)> definedConstants, IEnumerable<(string Name, string TypeDeclaration, string? Assignment)> staticFields,