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

#include <render_target.h>

Data Fields

mln_opengl_context_platform platform
 
mln_opengl_context_ownership ownership
 

Detailed Description

OpenGL backend context fields shared by OpenGL render targets.

Field Documentation

◆ ownership

mln_opengl_context_ownership mln_opengl_context_descriptor::ownership

Whether the session shares its thread with host graphics work. WGL and EGL surface sessions support both. A WebGL session renders through the host's own context and a texture session hands its texture to the host, so both are shared only.

◆ platform

mln_opengl_context_platform mln_opengl_context_descriptor::platform

WGL or EGL context provider.


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