setIsComplexHint method

void setIsComplexHint ()

Hints that the painting in the current layer is complex and would benefit from caching.

If this hint is not set, the compositor will apply its own heuristics to decide whether the current layer is complex enough to benefit from caching.

Implementation

void setIsComplexHint() {
  _currentLayer?.isComplexHint = true;
}