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

#include <surface.h>

Data Fields

uint32_t size
mln_logical_size logical_size
void * surface

Detailed Description

A new OpenGL surface for mln_render_session_set_open_gl_surface_target().

The session presents to it with the context that it attached with. It 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.

Field Documentation

◆ logical_size

mln_logical_size mln_open_gl_surface_replacement::logical_size

◆ size

uint32_t mln_open_gl_surface_replacement::size

◆ surface

void* mln_open_gl_surface_replacement::surface

Your EGLSurface with EGL, or your HDC with WGL. WebGL doesn't use it, so leave it null.


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