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. |
ShaderTagId[] | shaderTagIds | |
bool | opaque | Marks whether the objects are opaque or transparent. |
RenderPassEvent | evt | The |
RenderQueueRange | renderQueueRange | The |
LayerMask | layerMask | The layer mask to use for creating filtering settings that control what objects get rendered. |
StencilState | 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. |
RenderPassEvent | evt | The |
RenderQueueRange | renderQueueRange | The |
LayerMask | layerMask | The layer mask to use for creating filtering settings that control what objects get rendered. |
StencilState | stencilState | The stencil settings to use with this poss. |
int | stencilReference | The stencil reference value to use with this pass. |