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

Data Fields

WGPUChainedStructOutnextInChain
 
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 1965 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStructOut* WGPUInstanceCapabilities::nextInChain

This struct chain is used as mutable in some places and immutable in others.

Definition at line 1967 of file webgpu.h.

◆ timedWaitAnyEnable

WGPUBool WGPUInstanceCapabilities::timedWaitAnyEnable

Enable use of wgpuInstanceWaitAny with timeoutNS > 0.

Defaults to 0.

Definition at line 1973 of file webgpu.h.

◆ timedWaitAnyMaxCount

size_t WGPUInstanceCapabilities::timedWaitAnyMaxCount

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

Defaults to 0.

Definition at line 1979 of file webgpu.h.