30 行
976 B
C#
30 行
976 B
C#
namespace DirectX12GameEngine.Shaders.Renderer.Models.Abstract
|
|
{
|
|
/// <summary>
|
|
/// A <see langword="class"/> that contains info on a shader field
|
|
/// </summary>
|
|
public abstract class FieldInfoBase
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the type of the current field
|
|
/// </summary>
|
|
public string FieldType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name to use for the current field
|
|
/// </summary>
|
|
public string FieldName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Creates a new <see cref="FieldInfoBase"/> instance with the specified parameters
|
|
/// </summary>
|
|
/// <param name="fieldType">The type of the current field</param>
|
|
/// <param name="fieldName">The name of the current field</param>
|
|
protected FieldInfoBase(string fieldType, string fieldName)
|
|
{
|
|
FieldType = fieldType;
|
|
FieldName = fieldName;
|
|
}
|
|
}
|
|
}
|