debugDisableClipLayers top-level property Null safety

bool debugDisableClipLayers
read / write

Setting to true will cause all clipping effects from the layer tree to be ignored.

Can be used to debug whether objects being clipped are painting excessively in clipped areas. Can also be used to check whether excessive use of clipping is affecting performance.

This will not reduce the number of Layer objects created; the compositing strategy is unaffected. It merely causes the clipping layers to be skipped when building the scene.

Implementation

bool debugDisableClipLayers = false;