BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Interface Viewer3dEngineFailure

    A 3D viewer gave up on the GPU (Viewer3d.addEngineFailureListener). Viewer3D-Next ("webgpu"): the device kept getting lost, or no new one could be made. Viewer3D ("webgl"): the WebGL context was lost, as when the browser's GPU process is killed

    interface Viewer3dEngineFailure {
        engine: Viewer3dEngine;
        error?: unknown;
        reason: "repeated-device-loss" | "recovery-failed" | "context-lost";
    }
    Index

    Properties

    Properties

    error?: unknown

    What went wrong last

    reason: "repeated-device-loss" | "recovery-failed" | "context-lost"

    "repeated-device-loss" or "recovery-failed" from Viewer3D-Next, "context-lost" from Viewer3D