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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUCallbackMode mode
 
WGPURequestDeviceCallback callback
 
void * userdata1
 
void * userdata2
 

Detailed Description

Definition at line 1629 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPURequestDeviceCallbackInfo::nextInChain

Definition at line 1630 of file webgpu.h.

◆ mode

WGPUCallbackMode WGPURequestDeviceCallbackInfo::mode

Controls when the callback may be called.

Has no default. The INIT macro sets this to (WGPUCallbackMode)0.

Definition at line 1636 of file webgpu.h.

◆ callback

WGPURequestDeviceCallback WGPURequestDeviceCallbackInfo::callback

Definition at line 1637 of file webgpu.h.

◆ userdata1

void* WGPURequestDeviceCallbackInfo::userdata1

Definition at line 1638 of file webgpu.h.

◆ userdata2

void* WGPURequestDeviceCallbackInfo::userdata2

Definition at line 1639 of file webgpu.h.