Table of Contents

Enum WebGlContextKind

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

How a render session gets its WebGL context.

public enum WebGlContextKind : uint

Fields

Existing = 0

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

TransferredCanvas = 1

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

Remarks

See mln_web_gl_context_kind in the C API reference.