layerMask property
A bitmask selecting which node layers render into the capture, the
same selection a RenderView.layerMask makes. Defaults to every
layer. Use it to keep expensive or irrelevant content out of the
mirror.
Implementation
int layerMask;