Class CustomPassDrawerAttribute
Tells a CustomPassDrawer which CustomPass class is intended for the GUI inside the CustomPassDrawer class
Implements
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class CustomPassDrawerAttribute : Attribute, _Attribute
Constructors
CustomPassDrawerAttribute(Type)
Indicates that the class is a Custom Pass drawer and that it replaces the default Custom Pass GUI.
Declaration
public CustomPassDrawerAttribute(Type targetPassType)
Parameters
Type | Name | Description |
---|---|---|
Type | targetPassType | The Custom Pass type. |