isComplexHint property

bool isComplexHint

Hints that the painting in this 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 this layer is complex enough to benefit from caching.

The scene must be explicitly recomposited after this property is changed (as described at Layer).

Implementation

bool get isComplexHint => _isComplexHint;
void isComplexHint=(bool value)

Implementation

set isComplexHint(bool value) {
  if (value != _isComplexHint) {
    _isComplexHint = value;
    markNeedsAddToScene();
  }
}