Class RenderObjectsPass
Inheritance
RenderObjectsPass
Syntax
[MovedFrom("UnityEngine.Experimental.Rendering.LWRP")]
public class RenderObjectsPass : ScriptableRenderPass
Constructors
RenderObjectsPass(String, RenderPassEvent, String[], RenderQueueType, Int32, RenderObjects.CustomCameraSettings)
Declaration
public RenderObjectsPass(string profilerTag, RenderPassEvent renderPassEvent, string[] shaderTags, RenderQueueType renderQueueType, int layerMask, RenderObjects.CustomCameraSettings cameraSettings)
Parameters
Properties
overrideMaterial
Declaration
public Material overrideMaterial { get; set; }
Property Value
overrideMaterialPassIndex
Declaration
public int overrideMaterialPassIndex { get; set; }
Property Value
Methods
Execute(ScriptableRenderContext, ref RenderingData)
Declaration
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
Parameters
Overrides
SetDetphState(Boolean, CompareFunction)
Declaration
public void SetDetphState(bool writeEnabled, CompareFunction function = CompareFunction.Less)
Parameters
SetStencilState(Int32, CompareFunction, StencilOp, StencilOp, StencilOp)
Declaration
public void SetStencilState(int reference, CompareFunction compareFunction, StencilOp passOp, StencilOp failOp, StencilOp zFailOp)
Parameters