Pass:getViewCount

Returns 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

NameTypeDescription
viewsnumber 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.

See also