Minor code refactoring

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-12 00:36:58 +02:00
1 親 1d9b0a94e7
コミット 0ccb4edd13
5ファイル変更
+10 -10

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

+29
ファイルの表示
@@ -0,0 +1,29 @@
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;
}
}
}