groupProgram property

FragmentProgram? get groupProgram

The compiled group shader, once it has arrived.

A second program rather than a mode of the first, because adding a path to a runtime effect reprices every mode already in it by 52-62% (B5) and the lone surface is the common case. Loaded whether or not the screen has a group: a host that compiled it lazily would put the first frame of a fused toolbar on a different code path from every frame after it.

Implementation

ui.FragmentProgram? get groupProgram => _groupProgram;
set groupProgram (FragmentProgram? value)

Implementation

set groupProgram(ui.FragmentProgram? value) {
  if (identical(value, _groupProgram)) {
    return;
  }
  _groupProgram = value;
  notifyListeners();
}