using ComputeSharp.Shaders.Renderer.Models.Fields.Abstract; namespace ComputeSharp.Shaders.Renderer.Models.Fields { /// /// A that contains info on a static scalar field /// public sealed class StaticScalarFieldInfo : FieldInfoBase { /// /// Gets whether or not the current instance represents a static scalar value (always ) /// public bool IsStaticScalarField { get; } = true; /// /// Gets or sets the value to set for the current field /// public object FieldValue { get; set; } /// /// Creates a new instance with the specified parameters /// /// The type of the current field /// The name of the current field /// The static value to assign to the current field public StaticScalarFieldInfo(string fieldType, string fieldName, object fieldValue) : base(fieldType, fieldName) { FieldValue = fieldValue; } } }