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

#include <render_target.h>

Data Fields

uint32_t kind
int32_t context
mln_buffer_view canvas_selector

Detailed Description

WebGL context fields shared by OpenGL render targets in the browser.

Field Documentation

◆ canvas_selector

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.

◆ context

int32_t mln_webgl_context_descriptor::context

Borrowed EMSCRIPTEN_WEBGL_CONTEXT_HANDLE for EXISTING. Must be positive.

◆ kind

uint32_t mln_webgl_context_descriptor::kind

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