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.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal.Internal
어셈블리: solution.dll
구문
public class DrawObjectsPass : ScriptableRenderPass
생성자
이름 | 설명 |
---|---|
DrawObjectsPass(string, bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int) | Creates a new |
DrawObjectsPass(string, ShaderTagId[], bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int) | Creates a new |
필드
이름 | 설명 |
---|---|
m_ProfilingSampler | Profiling sampler |
m_ShouldTransparentsReceiveShadows | Used to indicate whether transparent objects should receive shadows or not. |
메서드
이름 | 설명 |
---|---|
Execute(ScriptableRenderContext, ref RenderingData) | Execute the pass. This is where custom rendering occurs. Specific details are left to the implementation |