Cleanup pass for public/internal APIs

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-14 23:58:43 +02:00
1 親 f1bdcf2fdf
コミット 88eaf3e273
21ファイル変更
+29 -26

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -10,7 +10,7 @@ namespace ComputeSharp.Shaders.Extensions
/// <summary>
/// A <see langword="class"/> with some extension methods for C# syntax nodes
/// </summary>
public static class SyntaxNodeExtensions
internal static class SyntaxNodeExtensions
{
/// <summary>
/// Checks a <see cref="SyntaxNode"/> value and replaces the value type to be HLSL compatible, if needed
+3
ファイルの表示
@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("ComputeSharp")]
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@
/// <summary>
/// A <see langword="class"/> that contains info on a shader field
/// </summary>
public abstract class FieldInfoBase
internal abstract class FieldInfoBase
{
/// <summary>
/// Gets or sets the type of the current field
+1 -1
ファイルの表示
@@ -5,7 +5,7 @@ namespace ComputeSharp.Shaders.Renderer.Models.Fields
/// <summary>
/// A <see langword="class"/> that contains info on a constant buffer field
/// </summary>
public sealed class ConstantBufferFieldInfo : FieldInfoBase
internal sealed class ConstantBufferFieldInfo : FieldInfoBase
{
/// <summary>
/// Gets whether or not the current <see cref="FieldInfoBase"/> instance represents a constant buffer (always <see langword="true"/>)
+1 -1
ファイルの表示
@@ -5,7 +5,7 @@ namespace ComputeSharp.Shaders.Renderer.Models.Fields
/// <summary>
/// A <see langword="class"/> that contains info on a read write buffer field
/// </summary>
public sealed class ReadWriteBufferFieldInfo : FieldInfoBase
internal sealed class ReadWriteBufferFieldInfo : FieldInfoBase
{
/// <summary>
/// Gets whether or not the current <see cref="FieldInfoBase"/> instance represents a read write buffer (always <see langword="true"/>)
+1 -1
ファイルの表示
@@ -5,7 +5,7 @@ namespace ComputeSharp.Shaders.Renderer.Models.Fields
/// <summary>
/// A <see langword="class"/> that contains info on a static scalar field
/// </summary>
public sealed class StaticScalarFieldInfo : FieldInfoBase
internal sealed class StaticScalarFieldInfo : FieldInfoBase
{
/// <summary>
/// Gets whether or not the current <see cref="FieldInfoBase"/> instance represents a static scalar value (always <see langword="true"/>)
+1 -1
ファイルの表示
@@ -8,7 +8,7 @@ namespace ComputeSharp.Shaders.Renderer.Models
/// <summary>
/// A <see langword="class"/> that contains info to render a shader source to compile
/// </summary>
public sealed class ShaderInfo
internal sealed class ShaderInfo
{
/// <summary>
/// Gets the list of fields being present in the current shader
+1 -1
ファイルの表示
@@ -10,7 +10,7 @@ namespace ComputeSharp.Shaders.Renderer
/// <summary>
/// A <see langword="class"/> that uses the mustache templating system to render HLSL shaders
/// </summary>
public sealed class ShaderRenderer
internal sealed class ShaderRenderer
{
/// <summary>
/// Gets the singleton <see cref="ShaderRenderer"/> instance to use
+1 -1
ファイルの表示
@@ -15,7 +15,7 @@ namespace ComputeSharp.Shaders
/// <summary>
/// A <see langword="class"/> responsible for performing all the necessary operations to compile and run a compute shader
/// </summary>
public static class ShaderRunner
internal static class ShaderRunner
{
/// <summary>
/// Compiles and runs the input shader on a target <see cref="GraphicsDevice"/> instance, with the specified parameters
+1 -1
ファイルの表示
@@ -18,7 +18,7 @@ namespace ComputeSharp.Shaders.Translation
/// <summary>
/// A <see langword="class"/> that is able to decompile arbitrary methods
/// </summary>
public sealed class MethodDecompiler
internal sealed class MethodDecompiler
{
/// <summary>
/// Gets the singleton <see cref="MethodDecompiler"/> instance to use
+1 -1
ファイルの表示
@@ -8,7 +8,7 @@ namespace ComputeSharp.Shaders.Translation
/// <summary>
/// A <see langword="class"/> that uses the <see cref="HlslDxcLib"/> APIs to compile compute shaders
/// </summary>
public sealed class ShaderCompiler
internal sealed class ShaderCompiler
{
/// <summary>
/// Gets the singleton <see cref="ShaderCompiler"/> instance to use
+1 -1
ファイルの表示
@@ -19,7 +19,7 @@ namespace ComputeSharp.Shaders.Translation
/// <summary>
/// A <see langword="class"/> responsible for loading and processing <see cref="Action{T}"/> instances
/// </summary>
public sealed class ShaderLoader
internal sealed class ShaderLoader
{
/// <summary>
/// The <see cref="Action{T}"/> that represents the shader to load
+1 -1
ファイルの表示
@@ -8,7 +8,7 @@ namespace ComputeSharp.Shaders.Translation
/// <summary>
/// A custom <see cref="CSharpSyntaxRewriter"/> <see langword="class"/> that processes C# methods to convert to HLSL
/// </summary>
public class ShaderSyntaxRewriter : CSharpSyntaxRewriter
internal class ShaderSyntaxRewriter : CSharpSyntaxRewriter
{
/// <summary>
/// The <see cref="Microsoft.CodeAnalysis.SemanticModel"/> instance to use to rewrite the decompiled code