Class DrawObjectsPass
Draw objects into the given color and depth target
You can use this pass to render objects that have a material and/or shader with the pass names UniversalForward or SRPDefaultUnlit.
Inherited Members
Namespace: UnityEngine.Rendering.Universal.Internal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class DrawObjectsPass : ScriptableRenderPass
Constructors
Name | Description |
---|---|
DrawObjectsPass(string, bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int) | Creates a new |
DrawObjectsPass(string, ShaderTagId[], bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int) | Creates a new |
Fields
Name | Description |
---|---|
m_ProfilingSampler | Profiling sampler |
m_ShouldTransparentsReceiveShadows | Used to indicate whether transparent objects should receive shadows or not. |
Methods
Name | Description |
---|---|
Execute(ScriptableRenderContext, ref RenderingData) | Execute the pass. This is where custom rendering occurs. Specific details are left to the implementation |