Reference·JavaScript · @bimworks/viewercommonJavaScript

probeWebGpu

Function in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Function

TypeScript#
function probeWebGpu

Members#

Member Kind Description
probeWebGpu Method Whether this browser can run Viewer3D-Next, without any policy. One adapter request per page, however often it is called: later calls get the first answer. W…

probeWebGpu#

TypeScript#
probeWebGpu(options?: { timeoutMs?: number }): Promise<WebGpuProbe>

Whether this browser can run Viewer3D-Next, without any policy. One adapter request per page, however often it is called: later calls get the first answer. Without the WebGPU API it answers at once.

Parameters#

Name Type Description
options { timeoutMs?: number }