DeviceReport
On this page

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 only Readonly<Record<string, number>>
featuresread only readonly string[]

Source

src/core/host-entry.ts, line 522, at commit af54ddad5

Edit this page Report a problem