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

Data Fields

WGPUFuture future
 
WGPUBool completed
 

Detailed Description

Struct holding a future to wait on, and a completed boolean flag.

Default values can be set using WGPU_FUTURE_WAIT_INFO_INIT as initializer.

Definition at line 3644 of file webgpu.h.

Field Documentation

◆ future

WGPUFuture WGPUFutureWaitInfo::future

The future to wait on.

Defaults to WGPU_FUTURE_INIT.

Definition at line 3650 of file webgpu.h.

◆ completed

WGPUBool WGPUFutureWaitInfo::completed

Whether or not the future completed.

Defaults to 0.

Definition at line 3656 of file webgpu.h.