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

#include <texture.h>

Data Fields

mln_logical_extent extent
mln_opengl_context_descriptor context

Detailed Description

OpenGL attachment options for an owned texture target.

Field Documentation

◆ context

mln_opengl_context_descriptor mln_opengl_owned_texture_descriptor::context

Borrowed OpenGL context provider data. Shared ownership creates a context whose texture frames the host can acquire. Dedicated EGL, WGL, or transferred WebGL ownership creates a private core-worker context for CPU readback.

◆ extent

mln_logical_extent mln_opengl_owned_texture_descriptor::extent

Logical texture extent. A scale_factor that differs from the map's is accepted and logged as a warning.


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