Class RenderObjectsPass
The scriptable render pass used with the render objects renderer feature.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public class RenderObjectsPass : ScriptableRenderPass
Constructors
Name | Description |
---|---|
RenderObjectsPass(string, RenderPassEvent, string[], RenderQueueType, int, CustomCameraSettings) | The constructor for render objects pass. |
Properties
Name | Description |
---|---|
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. |
Methods
Name | Description |
---|---|
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. |