startPerformanceStatisticsCollection abstract method

void startPerformanceStatisticsCollection(
  1. PerformanceStatisticsOptions options,
  2. PerformanceStatisticsListener listener
)

Starts collecting CPU/GPU render performance statistics with the given options, delivering each sampled snapshot to listener. Calling this while collection is already active replaces the previous listener; call stopPerformanceStatisticsCollection before restarting.

Implementation

void startPerformanceStatisticsCollection(
  PerformanceStatisticsOptions options,
  PerformanceStatisticsListener listener,
);