using System; namespace UnityEditor.Rendering.HighDefinition { /// /// Tells a CustomPassDrawer which CustomPass class is intended for the GUI inside the CustomPassDrawer class /// [AttributeUsage(AttributeTargets.Class)] public class CustomPassDrawerAttribute : Attribute { internal Type targetPassType; /// /// Indicates that the class is a Custom Pass drawer and that it replaces the default Custom Pass GUI. /// /// The Custom Pass type. public CustomPassDrawerAttribute(Type targetPassType) => this.targetPassType = targetPassType; } }