using System.Collections.Generic; using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract; #pragma warning disable CS8618 // Non-nullable field is uninitialized namespace ComputeSharp.Shaders.Renderer.Models { /// /// A that contains info to render a shader source to compile /// public sealed class ShaderInfo { /// /// Gets the list of fields being present in the current shader /// public IReadOnlyList FieldsList { get; set; } /// /// Gets or sets the number of threads in the X group /// public int NumThreadsX { get; set; } /// /// Gets or sets the number of threads in the Y group /// public int NumThreadsY { get; set; } /// /// Gets or sets the number of threads in the Z group /// public int NumThreadsZ { get; set; } /// /// Gets or sets the name for the threads id variable used in the shader /// public string ThreadsIdsVariableName { get; set; } /// /// Gets or sets the shader body to compile /// public string ShaderBody { get; set; } } }