Class RenderObjectsPass
Inheritance
RenderObjectsPass
Syntax
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
Type |
Description |
Material |
|
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
Type |
Name |
Description |
ScriptableRenderContext |
context |
|
RenderingData |
renderingData |
|
Overrides
SetDetphState(Boolean, CompareFunction)
Declaration
public void SetDetphState(bool writeEnabled, CompareFunction function = null)
Parameters
Type |
Name |
Description |
Boolean |
writeEnabled |
|
CompareFunction |
function |
|
SetStencilState(Int32, CompareFunction, StencilOp, StencilOp, StencilOp)
Declaration
public void SetStencilState(int reference, CompareFunction compareFunction, StencilOp passOp, StencilOp failOp, StencilOp zFailOp)
Parameters
Type |
Name |
Description |
Int32 |
reference |
|
CompareFunction |
compareFunction |
|
StencilOp |
passOp |
|
StencilOp |
failOp |
|
StencilOp |
zFailOp |
|