isLastEnabledPass method

dynamic isLastEnabledPass(
  1. dynamic passIndex
)

Implementation

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

  return true;
}