From 13ef2009e8ef03a14edd51875247fe5d81cba87f Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 10 Jul 2021 17:42:19 +0200 Subject: [PATCH] Added missing XML docs --- ...ShaderGenerator.CreateBuildHlslStringMethod.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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,