Pass:getViewCount
EditReturns the view count of a render pass. This is the layer count of the textures it is rendering to.
views = Pass:getViewCount()
Arguments
None
Returns
Name | Type | Description |
views | number | The view count. |
Notes
A render pass has one "camera" for each view. Whenever something is drawn, it is broadcast to each view (layer) of each texture, using the corresponding camera.