DeviceReport
Interface in Runtime
What callDevice() reports of the device the calls run on: its numeric limits, keyed by WebGPU's names, and its enabled features in sorted order.
import type { DeviceReport } from 'typeshade'import type { DeviceReport } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
interface DeviceReport { readonly limits: Readonly<Record<string, number>>; readonly features: readonly string[];}Instance properties
limitsread onlyReadonly<Record<string, number>>featuresread onlyreadonly string[]
Source
src/core/host-entry.ts, line 522, at commit af54ddad5