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

    Class OffscreenDeviceHandle

    A GPU device that the library creates to render maps offscreen.

    See mln_offscreen_device in the C API reference.

    Hierarchy

    • Owner
      • OffscreenDeviceHandle
    Index
    "[asyncDispose]": () => Promise<void>

    Calls release(), for await using. Hosts without Symbol.asyncDispose, such as ArkTS, leave it undefined.

    "[dispose]": () => void

    Calls release(), for using. Hosts without Symbol.dispose, such as ArkTS, leave it undefined.

    id: bigint

    The native handle value. It stays readable after release.