|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <surface.h>
Data Fields | |
| uint32_t | size |
| mln_logical_size | logical_size |
| mln_open_gl_context_descriptor | context |
| void * | surface |
An OpenGL surface to present to, for mln_map_attach_open_gl_surface().
The session uses the surface until a replacement or release of the target completes, a detach or release of the session completes, or an abandon of it returns.
| mln_open_gl_context_descriptor mln_open_gl_surface_descriptor::context |
| mln_logical_size mln_open_gl_surface_descriptor::logical_size |
| uint32_t mln_open_gl_surface_descriptor::size |
| void* mln_open_gl_surface_descriptor::surface |
Your EGLSurface with EGL, or your HDC with WGL. WebGL doesn't use it.