Class DrawRenderersCustomPass
DrawRenderers Custom Pass
Inheritance
DrawRenderersCustomPass
Syntax
[Serializable]
public class DrawRenderersCustomPass : CustomPass, IVersionable<CustomPass.Version>
Fields
depthCompareFunction
Declaration
public CompareFunction depthCompareFunction
Field Value
Type |
Description |
CompareFunction |
|
depthWrite
Declaration
Field Value
filterFoldout
Declaration
public bool filterFoldout
Field Value
layerMask
Declaration
public LayerMask layerMask
Field Value
Type |
Description |
LayerMask |
|
overrideDepthState
Declaration
public bool overrideDepthState
Field Value
overrideMaterial
Declaration
public Material overrideMaterial
Field Value
Type |
Description |
Material |
|
overrideMaterialPassName
Declaration
public string overrideMaterialPassName
Field Value
passNames
Declaration
public string[] passNames
Field Value
rendererFoldout
Declaration
public bool rendererFoldout
Field Value
renderQueueType
Declaration
public CustomPass.RenderQueueType renderQueueType
Field Value
shaderPass
Declaration
public DrawRenderersCustomPass.ShaderPass shaderPass
Field Value
sortingCriteria
Declaration
public SortingCriteria sortingCriteria
Field Value
Type |
Description |
SortingCriteria |
|
Methods
AggregateCullingParameters(ref ScriptableCullingParameters, HDCamera)
Declaration
protected override void AggregateCullingParameters(ref ScriptableCullingParameters cullingParameters, HDCamera hdCamera)
Parameters
Type |
Name |
Description |
ScriptableCullingParameters |
cullingParameters |
|
HDCamera |
hdCamera |
|
Overrides
Execute(ScriptableRenderContext, CommandBuffer, HDCamera, CullingResults)
Execute the DrawRenderers with parameters setup from the editor
Declaration
protected override void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, HDCamera hdCamera, CullingResults cullingResult)
Parameters
Type |
Name |
Description |
ScriptableRenderContext |
renderContext |
|
CommandBuffer |
cmd |
|
HDCamera |
hdCamera |
|
CullingResults |
cullingResult |
|
Overrides
GetShaderTagIds()
Declaration
protected ShaderTagId[] GetShaderTagIds()
Returns
Type |
Description |
ShaderTagId[] |
|
Setup(ScriptableRenderContext, CommandBuffer)
Declaration
protected override void Setup(ScriptableRenderContext renderContext, CommandBuffer cmd)
Parameters
Type |
Name |
Description |
ScriptableRenderContext |
renderContext |
|
CommandBuffer |
cmd |
|
Overrides