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

    Interface WebgpuTextureFrame

    WebGPU frame acquired from a texture ring.

    See mln_webgpu_texture_frame in the C API reference.

    interface WebgpuTextureFrame {
        device: bigint;
        format: number;
        frameId: bigint;
        generation: bigint;
        height: number;
        scaleFactor: number;
        slot: number;
        texture: bigint;
        textureView: bigint;
        width: number;
    }
    Index
    device: bigint

    Borrowed WGPUDevice. Valid until frame release.

    format: number

    Backend-native WGPUTextureFormat value.

    frameId: bigint

    Opaque identity of this frame.

    generation: bigint

    Session generation that produced this frame.

    height: number

    Physical WebGPU texture height in device pixels.

    scaleFactor: number

    UI-to-device pixel scale used for this frame.

    slot: number

    Ring slot that holds this frame. For a borrowed target, the index of its texture in the descriptor's textures array.

    texture: bigint

    Borrowed WGPUTexture. Valid until frame release.

    textureView: bigint

    Borrowed WGPUTextureView. Valid until frame release.

    width: number

    Physical WebGPU texture width in device pixels.