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

    Interface VulkanBorrowedTextureDescriptor

    Vulkan attachment options for a borrowed texture target.

    See mln_vulkan_borrowed_texture_descriptor in the C API reference.

    interface VulkanBorrowedTextureDescriptor {
        context?: VulkanContextDescriptor;
        extent?: LogicalExtent;
        finalLayout?: number;
        format?: number;
        initialLayout?: number;
        physicalHeight?: number;
        physicalWidth?: number;
        textures?: readonly VulkanBorrowedTexture[];
    }
    Index

    Borrowed Vulkan context. All handles are required.

    extent?: LogicalExtent

    Logical texture extent; physical_width and physical_height give the texture's size. A scale_factor that differs from the map's is accepted and logged as a warning.

    finalLayout?: number

    Backend-native VkImageLayout value left after rendering succeeds. Defaults to 5, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL.

    format?: number

    Backend-native VkFormat value of every image. VK_FORMAT_UNDEFINED is invalid.

    initialLayout?: number

    Backend-native VkImageLayout value expected at render-pass begin.

    physicalHeight?: number

    Physical image height in device pixels. Must be positive. Defaults to 256.

    physicalWidth?: number

    Physical image width in device pixels. Must be positive. Defaults to 256.

    textures?: readonly VulkanBorrowedTexture[]

    The ring's images, one per slot, in slot order. Required.