Engine API Reference - v2.6.1
    Preparing search index...

    Class MiniStats

    MiniStats is a small graphical overlay that displays realtime performance metrics. By default, it shows CPU and GPU utilization, frame timings and draw call count. It can also be configured to display additional graphs based on data collected into AppBase#stats.

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Returns the default options for MiniStats. The default options configure the overlay to show the following graphs:

      • CPU utilization
      • GPU utilization
      • Overall frame time
      • Draw call count

      Returns any

      The default options for MiniStats.

      const options = pc.MiniStats.getDefaultOptions();