Optional ReadonlyfeaturesThe device's optional features; has is the §62 query.
Optional ReadonlylimitsThe device's limits, by their WebGPU names. Optional because a double need
not carry them — an absent limit is reported as "not reported" rather than
guessed (renderer.ts's tri-state).
Optional ReadonlylostResolves when the device is lost (§61's first-class loss event). Optional so that a double may omit it; the renderer subscribes only when present.
ReadonlyqueueThe submission queue.
Binds resources against a layout.
Declares a bind-group layout (§7's "layouts as data").
Opens a command encoder.
Optionaldescriptor: { label?: string }OptionalcreateCreates an immutable compute pipeline (§82, WP-R1.8). Optional —
presence is the capability, and it is the one member compute() gates
on before recording anything (wgpu-compute.ts).
Composes bind-group layouts into a pipeline layout.
OptionalcreateAllocates a query set (A-1). Optional — presence is the capability, and only the GPU-frame timer calls it. A double written before this packet still satisfies the device.
Creates an immutable render pipeline (lazily — see wgpu-pipeline-cache.ts).
Creates a sampler — §77's filter and wrap state as an object.
Compiles a WGSL module.
Releases the device (§83).
The device: everything the backend allocates and submits through.