PerformanceOverlay.allEnabled constructor

PerformanceOverlay.allEnabled({
  1. Key? key,
})

Create a performance overlay that displays all available statistics.

Implementation

PerformanceOverlay.allEnabled({ super.key }) : optionsMask =
      1 << PerformanceOverlayOption.displayRasterizerStatistics.index |
      1 << PerformanceOverlayOption.visualizeRasterizerStatistics.index |
      1 << PerformanceOverlayOption.displayEngineStatistics.index |
      1 << PerformanceOverlayOption.visualizeEngineStatistics.index;