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

    Interface MetalSurfaceDescriptor

    A Metal layer to render to, for MapHandle.attachMetalSurface().

    The session sets the layer's device, pixel format, and drawable size. It uses the layer 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_metal_surface_descriptor in the C API reference.

    interface MetalSurfaceDescriptor {
        context?: MetalContextDescriptor;
        layer: bigint;
        logicalSize: LogicalSize;
    }
    Index

    The MTLDevice to render with. A null device picks the system's default.

    layer: bigint

    Your CAMetalLayer.

    logicalSize: LogicalSize