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. For WGL this is an HDC. For EGL this is an EGLSurface. Required.


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