Class RenderObjectsPass
The scriptable render pass used with the render objects renderer feature.
상속된 멤버
네임스페이스: UnityEngine.Experimental.Rendering.Universal
어셈블리: solution.dll
구문
public class RenderObjectsPass : ScriptableRenderPass
생성자
이름 | 설명 |
---|---|
RenderObjectsPass(string, RenderPassEvent, string[], RenderQueueType, int, CustomCameraSettings) | The constructor for render objects pass. |
프로퍼티
이름 | 설명 |
---|---|
overrideMaterial | The override material to use. |
overrideMaterialPassIndex | The pass index to use with the override material. |
overrideShader | The override shader to use. |
overrideShaderPassIndex | The pass index to use with the override shader. |
메서드
이름 | 설명 |
---|---|
Execute(ScriptableRenderContext, ref RenderingData) | Execute the pass. This is where custom rendering occurs. Specific details are left to the implementation |
RecordRenderGraph(RenderGraph, FrameResources, ref RenderingData) | Record the render graph pass. This is where custom rendering occurs. Specific details are left to the implementation |
SetDepthState(bool, CompareFunction) | Sets the write and comparison function for depth. |
SetStencilState(int, CompareFunction, StencilOp, StencilOp, StencilOp) | Sets up the stencil settings for the pass. |