using System.Collections.Generic;
using ComputeSharp.Shaders.Renderer.Models.Fields;
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
///
internal sealed class ShaderInfo
{
///
/// Gets the text indicating a generic type, which can't be escaped in mustache
///
public string T { get; } = "";
///
/// Gets the list of captured buffers being present in the current shader
///
public IReadOnlyList BuffersList { get; set; }
///
/// Gets the list of captured variables 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; }
}
}