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

    Interface AndroidHardwareBufferRingDescriptor

    A ring of Android hardware buffers that the library allocates, for MapHandle.attachAndroidHardwareBufferRing().

    Each buffer has the map's size in pixels, logical_size times the map's scale factor, and the format AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM. Its usage is AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT, AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE, and the bits of usage.

    See mln_android_hardware_buffer_ring_descriptor in the C API reference.

    interface AndroidHardwareBufferRingDescriptor {
        bufferCount: number;
        logicalSize: LogicalSize;
        usage?: bigint;
    }
    Index
    bufferCount: number

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

    logicalSize: LogicalSize
    usage?: bigint

    More AHARDWAREBUFFER_USAGE_* bits that your reads need, such as AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN, or zero.