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

    Interface VulkanBorrowedTextureDescriptor

    A ring of your Vulkan images, for MapHandle.attachVulkanBorrowedTexture().

    logical_size sets the map's size. physical_width and physical_height give the images' size in pixels, which is usually logical_size times the map's scale factor. Each image must have that size, format, and VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, and belong to the context's device. The ring holds up to TEXTURE_RING_MAX_DEPTH distinct images.

    The session uses the images 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_vulkan_borrowed_texture_descriptor in the C API reference.

    interface VulkanBorrowedTextureDescriptor {
        context: VulkanContextDescriptor;
        finalLayout: number;
        format: number;
        logicalSize: LogicalSize;
        owner?: VulkanImageOwner;
        physicalHeight: number;
        physicalWidth: number;
        textures: readonly VulkanBorrowedTexture[];
    }
    Index
    finalLayout: number

    The VkImageLayout that each frame leaves its image in.

    format: number

    The images' VkFormat.

    logicalSize: LogicalSize
    physicalHeight: number
    physicalWidth: number
    textures: readonly VulkanBorrowedTexture[]