webani - v1.0.0
    Preparing search index...

    A class that displays the FPS (Frames Per Second) of a given canvas element. It listens for update events from the provided WebaniCanvas instance and calculates the FPS based on the delta time (dt) between frames.

    Index

    Constructors

    Properties

    Constructors

    Properties

    canvas: WebaniCanvas

    The WebaniCanvas instance that provides frame update events.

    element: HTMLElement

    The HTML element where the FPS will be displayed.