isComplex property

bool isComplex
getter/setter pair

Whether to hint that this layer's painting should be cached.

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 layer containing this render object is complex enough to benefit from caching.

Implementation

bool isComplex;