rullino
    Preparing search index...

    Interface GpuContext

    interface GpuContext {
        device: GPUDevice;
        limits: GPUSupportedLimits;
        lost: Promise<GPUDeviceLostInfo>;
    }
    Index
    device: GPUDevice
    limits: GPUSupportedLimits

    The device's limits: the adapter's own (the WebGPU defaults are far lower, e.g. 8192 px textures).

    lost: Promise<GPUDeviceLostInfo>

    Resolves when the device is lost (driver reset, GPU switch, device.destroy()): recreate the context and re-upload your images.