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

Field Documentation

◆ future

WGPUFuture WGPUFutureWaitInfo::future

The future to wait on.

The INIT macro sets this to WGPU_FUTURE_INIT.

Definition at line 3968 of file webgpu.h.

◆ completed

WGPUBool WGPUFutureWaitInfo::completed

Whether or not the future completed.

The INIT macro sets this to 0.

Definition at line 3974 of file webgpu.h.