Constructor DrawObjectsPass
DrawObjectsPass(string, ShaderTagId[], bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int)
Creates a new DrawObjectsPass
instance.
Declaration
public DrawObjectsPass(string profilerTag, ShaderTagId[] shaderTagIds, bool opaque, RenderPassEvent evt, RenderQueueRange renderQueueRange, LayerMask layerMask, StencilState stencilState, int stencilReference)
Parameters
Type | Name | Description |
---|---|---|
string | profilerTag | The profiler tag used with the pass. |
Shader |
shaderTagIds | |
bool | opaque | Marks whether the objects are opaque or transparent. |
Render |
evt | The |
Render |
renderQueueRange | The |
Layer |
layerMask | The layer mask to use for creating filtering settings that control what objects get rendered. |
Stencil |
stencilState | The stencil settings to use with this poss. |
int | stencilReference | The stencil reference value to use with this pass. |
See Also
DrawObjectsPass(string, bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int)
Creates a new DrawObjectsPass
instance.
Declaration
public DrawObjectsPass(string profilerTag, bool opaque, RenderPassEvent evt, RenderQueueRange renderQueueRange, LayerMask layerMask, StencilState stencilState, int stencilReference)
Parameters
Type | Name | Description |
---|---|---|
string | profilerTag | The profiler tag used with the pass. |
bool | opaque | Marks whether the objects are opaque or transparent. |
Render |
evt | The |
Render |
renderQueueRange | The |
Layer |
layerMask | The layer mask to use for creating filtering settings that control what objects get rendered. |
Stencil |
stencilState | The stencil settings to use with this poss. |
int | stencilReference | The stencil reference value to use with this pass. |