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

    Variable RenderSessionStateConst

    RenderSessionState: {
        abandoned: 6;
        attached: 2;
        attaching: 1;
        detached: 4;
        detaching: 3;
        targetLost: 5;
    } = ...

    Render-session lifecycle visible in snapshots.

    See mln_render_session_state in the C API reference.

    Type Declaration

    • Readonlyabandoned: 6
    • Readonlyattached: 2
    • Readonlyattaching: 1
    • Readonlydetached: 4
    • Readonlydetaching: 3
    • ReadonlytargetLost: 5

      A frame or driver task failed and the session can no longer render. The map reports the failure as MLN_RUNTIME_EVENT_MAP_RENDER_ERROR. A failed attach reports it through its completion instead.