using System;
namespace UnityEditor.ShaderGraph
{
[AttributeUsage(AttributeTargets.Class)]
class BlackboardInputInfo : Attribute
{
public float priority;
public string name;
///
/// Provide additional information to provide the blackboard for order and name of the ShaderInput item.
///
/// Priority of the item, higher values will result in lower positions in the menu.
/// Name of the item. If null, the class name of the item will be used instead.
public BlackboardInputInfo(float priority, string name = null)
{
this.priority = priority;
this.name = name;
}
}
}