|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <surface.h>
Data Fields | |
| mln_render_target_extent | extent |
| mln_opengl_context_descriptor | context |
| void * | surface |
OpenGL native surface session attachment options.
| mln_opengl_context_descriptor mln_opengl_surface_descriptor::context |
Borrowed OpenGL context provider data.
| mln_render_target_extent mln_opengl_surface_descriptor::extent |
Logical surface extent.
| void* mln_opengl_surface_descriptor::surface |
Borrowed platform surface handle: an HDC for WGL and an EGLSurface for EGL, both required. Null for WebGL, whose context carries its canvas binding.