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

    Interface MetalBorrowedTextureDescriptor

    Metal attachment options for a borrowed texture target.

    See mln_metal_borrowed_texture_descriptor in the C API reference.

    interface MetalBorrowedTextureDescriptor {
        extent?: LogicalExtent;
        physicalHeight?: number;
        physicalWidth?: number;
        textures?: readonly MetalBorrowedTexture[];
    }
    Index
    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.

    physicalHeight?: number

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

    physicalWidth?: number

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

    textures?: readonly MetalBorrowedTexture[]

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