isLastEnabledPass method

dynamic isLastEnabledPass(
  1. dynamic passIndex
)

Implementation

isLastEnabledPass(passIndex) {
  for (var i = passIndex + 1; i < passes.length; i++) {
    if (passes[i].enabled) {
      return false;
    }
  }

  return true;
}