MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_web_gl_context_descriptor Struct Reference

#include <render_target.h>

Data Fields

mln_web_gl_context_kind kind
int32_t context
mln_buffer_view canvas_selector

Detailed Description

The WebGL context or canvas that a render session uses.

Field Documentation

◆ canvas_selector

mln_buffer_view mln_web_gl_context_descriptor::canvas_selector

The canvas's CSS selector, for a transferred canvas.

◆ context

int32_t mln_web_gl_context_descriptor::context

Your EMSCRIPTEN_WEBGL_CONTEXT_HANDLE, for an existing context.

◆ kind

mln_web_gl_context_kind mln_web_gl_context_descriptor::kind

The documentation for this struct was generated from the following file: