isComplex property

bool isComplex
final

Whether the painting is complex enough to benefit from caching.

The compositor contains a raster cache that holds bitmaps of layers in order to avoid the cost of repeatedly rendering those layers on each frame. If this flag is not set, then the compositor will apply its own heuristics to decide whether the this layer is complex enough to benefit from caching.

Implementation

final bool isComplex