WebGPU module

webgpu_request_adapter

procedure · 1 overloadSource

Request an adapter and wait for it; null when there is none.

webgpu_request_adapter :: (
    instance: WGPUInstance,
    options: *WGPURequestAdapterOptions = null
) -> WGPUAdapter

Request an adapter and wait for it; null when there is none.

Parameters

instance: WGPUInstance
options: *WGPURequestAdapterOptions

Returns

WGPUAdapter

See also