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

    Variable WebGlContextKindConst

    WebGlContextKind: { existing: 0; transferredCanvas: 1 } = ...

    How a render session gets its WebGL context.

    See mln_web_gl_context_kind in the C API reference.

    Type Declaration

    • Readonlyexisting: 0

      The session uses a context that you created with emscripten_webgl_create_context().

    • ReadonlytransferredCanvas: 1

      The library transfers the canvas that canvas_selector names to a worker and creates the context there.