namespace ComputeSharp.Shaders.Renderer.Models.Fields
{
///
/// A that contains info on a shader field.
///
internal class CapturedFieldInfo
{
///
/// Creates a new instance with the specified parameters.
///
/// The type of the current field in the HLSL shader.
/// The name to use for the current field.
public CapturedFieldInfo(string fieldType, string fieldName)
{
FieldType = fieldType;
FieldName = fieldName;
}
///
/// Gets the type of the current field in the HLSL shader.
///
public string FieldType { get; }
///
/// Gets the name to use for the current field.
///
public string FieldName { get; }
}
}