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

    Interface OpenGlSurfaceReplacement

    A new OpenGL surface for RenderSessionHandle.setOpenGlSurfaceTarget().

    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.

    See mln_open_gl_surface_replacement in the C API reference.

    interface OpenGlSurfaceReplacement {
        logicalSize: LogicalSize;
        surface?: bigint;
    }
    Index
    logicalSize: LogicalSize
    surface?: bigint

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