needsCompositing property

bool needsCompositing

Whether we or one of our descendants has a compositing layer.

Only legal to call after PipelineOwner.flushLayout and PipelineOwner.flushCompositingBits have been called.

Implementation

bool get needsCompositing {
  assert(!_needsCompositingBitsUpdate); // make sure we don't use this bit when it is dirty
  return _needsCompositing;
}