namespace UnityEngine.Rendering.Universal { /// /// You can add a ScriptableRendererFeature2D to the ScriptableRenderer. Use this scriptable renderer feature to inject render passes into the 2D renderer. /// /// /// [ExcludeFromPreset] [SupportedOnRenderer(typeof(Renderer2DData))] public abstract partial class ScriptableRendererFeature2D : ScriptableRendererFeature { /// /// Specifies at which injection point the pass will be rendered. /// [HideInInspector] public RenderPassEvent2D injectionPoint2D = RenderPassEvent2D.BeforeRendering; /// /// Specifies the sorting layer in which Unity injects the pass. /// [HideInInspector] public int sortingLayerID = 0; } }