@maplibre/native-ffi
    Preparing search index...

    Interface RenderingStats

    Rendering statistics reported in MLN_RUNTIME_EVENT_PAYLOAD_RENDER_FRAME.

    See mln_rendering_stats in the C API reference.

    interface RenderingStats {
        drawCallCount: bigint;
        encodingTime: number;
        frameCount: bigint;
        renderingTime: number;
        totalDrawCallCount: bigint;
    }
    Index
    drawCallCount: bigint

    Draw calls executed during the most recent frame.

    encodingTime: number

    Frame CPU encoding time in seconds.

    frameCount: bigint

    Number of frames rendered by the native renderer.

    renderingTime: number

    Frame CPU rendering time in seconds.

    totalDrawCallCount: bigint

    Total draw calls executed by the native renderer.