Enumeration
MaplibreNativeFfiWebGlContextKind
Description [src]
How a render session gets its WebGL context.
See mln_web_gl_context_kind in the
C API reference.
Members
-
MAPLIBRE_NATIVE_FFI_WEB_GL_CONTEXT_EXISTING -
The session uses a context that you created with
emscripten_webgl_create_context().- Value:
0 - Available since: 0
- Value:
-
MAPLIBRE_NATIVE_FFI_WEB_GL_CONTEXT_TRANSFERRED_CANVAS -
The library transfers the canvas that
canvas_selectornames to a worker and creates the context there.- Value:
1 - Available since: 0
- Value: