Constructor RenderObjectsPass
RenderObjectsPass(string, RenderPassEvent, string[], RenderQueueType, int, CustomCameraSettings)
The constructor for render objects pass.
Declaration
public RenderObjectsPass(string profilerTag, RenderPassEvent renderPassEvent, string[] shaderTags, RenderQueueType renderQueueType, int layerMask, RenderObjects.CustomCameraSettings cameraSettings)
Parameters
Type | Name | Description |
---|---|---|
string | profilerTag | The profiler tag used with the pass. |
RenderPassEvent | renderPassEvent | Controls when the render pass executes. |
string[] | shaderTags | List of shader tags to render with. |
RenderQueueType | renderQueueType | The queue type for the objects to render. |
int | layerMask | The layer mask to use for creating filtering settings that control what objects get rendered. |
RenderObjects.CustomCameraSettings | cameraSettings | The settings for custom cameras values. |