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

    Interface WebGpuSurfaceDescriptor

    A WebGPU surface to present to, for MapHandle.attachWebGpuSurface().

    The session configures the surface. It uses the surface 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_web_gpu_surface_descriptor in the C API reference.

    interface WebGpuSurfaceDescriptor {
        context: WebGpuContextDescriptor;
        format: number;
        logicalSize: LogicalSize;
        surface: bigint;
    }
    Index
    format: number

    The WGPUTextureFormat to configure the surface with.

    logicalSize: LogicalSize
    surface: bigint

    Your WGPUSurface.