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

#include <surface.h>

Data Fields

mln_render_target_extent extent
 
mln_opengl_context_descriptor context
 
void * surface
 

Detailed Description

OpenGL native surface session attachment options.

Field Documentation

◆ context

mln_opengl_context_descriptor mln_opengl_surface_descriptor::context

Borrowed OpenGL context provider data.

◆ extent

mln_render_target_extent mln_opengl_surface_descriptor::extent

Logical surface extent.

◆ surface

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.


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