Class FrameStatsInternal

Class containing all counters, timers and events of the current frame.

Hierarchy

  • FrameStats

Constructors

Properties

entries: Map<string, number> = ...
messages?: string[] = undefined

Methods

  • Add a value to the current value of the performance number. If the performance is not known, it will be initialized with value.

    Parameters

    • name: string

      Name of the performance number.

    • value: number

    Returns void

  • Retrieve the value of the performance number.

    Parameters

    • name: string

      Name of the performance number.

    Returns undefined | number

    The value of the performance number or undefined if it has not been declared by setValue before.

Generated using TypeDoc