@maplibre/native-ffi
    Preparing search index...

    Interface OpenGlSurfaceDescriptor

    An OpenGL surface to present to, for MapHandle.attachOpenGlSurface().

    The session 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.

    See mln_open_gl_surface_descriptor in the C API reference.

    interface OpenGlSurfaceDescriptor {
        context: OpenGlContextDescriptor;
        logicalSize: LogicalSize;
        surface?: bigint;
    }
    Index
    logicalSize: LogicalSize
    surface?: bigint

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