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

    Interface MetalSurfaceReplacement

    A new Metal layer for RenderSessionHandle.setMetalSurfaceTarget().

    The session renders to it with the device that it attached with. 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_replacement in the C API reference.

    interface MetalSurfaceReplacement {
        layer: bigint;
        logicalSize: LogicalSize;
    }
    Index
    layer: bigint

    Your CAMetalLayer.

    logicalSize: LogicalSize