WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUInstanceCapabilities Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUBool timedWaitAnyEnable
 
size_t timedWaitAnyMaxCount
 

Detailed Description

Features enabled on the WGPUInstance

Default values can be set using WGPU_INSTANCE_CAPABILITIES_INIT as initializer.

Definition at line 2122 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUInstanceCapabilities::nextInChain

Definition at line 2123 of file webgpu.h.

◆ timedWaitAnyEnable

WGPUBool WGPUInstanceCapabilities::timedWaitAnyEnable

Enable use of wgpuInstanceWaitAny with timeoutNS > 0.

The INIT macro sets this to 0.

Definition at line 2129 of file webgpu.h.

◆ timedWaitAnyMaxCount

size_t WGPUInstanceCapabilities::timedWaitAnyMaxCount

The maximum number WGPUFutureWaitInfo supported in a call to wgpuInstanceWaitAny with timeoutNS > 0.

The INIT macro sets this to 0.

Definition at line 2135 of file webgpu.h.