Minimal WebGPU adapter shape used by WebGPURenderer.

Use this when injecting a custom adapter into WebGPURenderer.create without requiring ambient WebGPU DOM typings.

interface WebGPUAdapterLike {
    features?: { has(feature: string): boolean };
    requestDevice(descriptor?: object): Promise<WebGPUDeviceLike>;
}

Properties

Methods

Properties

features?: { has(feature: string): boolean }

Adapter feature set queried before requesting optional renderer features.

Type declaration

Methods