Constructor DrawObjectsPass
DrawObjectsPass(string, ShaderTagId[], bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int)
Creates a new DrawObjectsPass instance.
선언
public DrawObjectsPass(string profilerTag, ShaderTagId[] shaderTagIds, bool opaque, RenderPassEvent evt, RenderQueueRange renderQueueRange, LayerMask layerMask, StencilState stencilState, int stencilReference)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| 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. |
참고
DrawObjectsPass(string, bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int)
Creates a new DrawObjectsPass instance.
선언
public DrawObjectsPass(string profilerTag, bool opaque, RenderPassEvent evt, RenderQueueRange renderQueueRange, LayerMask layerMask, StencilState stencilState, int stencilReference)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| 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. |