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

    Interface WglContextDescriptor

    WGL context fields shared by OpenGL render targets on Windows.

    See mln_wgl_context_descriptor in the C API reference.

    interface WglContextDescriptor {
        deviceContext?: bigint;
        getProcAddress?: bigint;
        shareContext?: bigint;
    }
    Index
    deviceContext?: bigint

    Borrowed HDC used to create the session context. Required. A dedicated owned texture makes its context current on this HDC from its core worker.

    getProcAddress?: bigint

    Optional wglGetProcAddress-compatible function for the host loader.

    shareContext?: bigint

    Borrowed HGLRC whose share group the session context joins. Required under shared ownership. A dedicated session joins no share group, so it must be null there.