Class ScriptableRenderPass2D
ScriptableRenderPass2D
implements a logical rendering pass with which you can extend the 2D renderer.
Implements
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.2D.Runtime.dll
Syntax
public abstract class ScriptableRenderPass2D : ScriptableRenderPass, IRenderGraphRecorder
Properties
renderPassEvent2D
The event that occurs when the render pass executes with the 2d renderer.
Declaration
public RenderPassEvent2D renderPassEvent2D { get; set; }
Property Value
Type | Description |
---|---|
RenderPassEvent2D |
renderPassSortingLayerID
The sorting layer that the render pass executes on the 2d renderer.
Declaration
public int renderPassSortingLayerID { get; set; }
Property Value
Type | Description |
---|---|
int |