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

    Interface DmaBufRingDescriptor

    A ring of dmabufs that the library allocates, for MapHandle.attachDmaBufRing().

    Each buffer has the map's size in pixels and a format and modifier from formats. The library renders only DRM_FORMAT_ABGR8888 and DRM_FORMAT_ARGB8888. A modifier can give a buffer more planes than its format has, such as a plane of compression metadata, and the library takes any such modifier that its GPU can render into and share.

    See mln_dma_buf_ring_descriptor in the C API reference.

    interface DmaBufRingDescriptor {
        bufferCount: number;
        formats: readonly DmaBufFormat[];
        logicalSize: LogicalSize;
    }
    Index
    bufferCount: number

    How many buffers the ring has, from 1 to 8.

    formats: readonly DmaBufFormat[]

    The formats and modifiers that your reader imports, most preferred first, such as those that eglQueryDmaBufModifiersEXT() reports.

    logicalSize: LogicalSize