You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
698 B

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