|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <render_target.h>
Data Fields | |
| uint32_t | kind |
| int32_t | context |
| mln_buffer_view | canvas_selector |
WebGL context fields shared by OpenGL render targets in the browser.
| mln_buffer_view mln_webgl_context_descriptor::canvas_selector |
Copied UTF-8 Emscripten target selector for TRANSFERRED_CANVAS. The HTML canvas must still be transferable when attachment starts.
| int32_t mln_webgl_context_descriptor::context |
Borrowed EMSCRIPTEN_WEBGL_CONTEXT_HANDLE for EXISTING. Must be positive.
| uint32_t mln_webgl_context_descriptor::kind |
One mln_webgl_context_kind value.