WebGPU Headers: WGPUDeviceLostCallbackInfo Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUCallbackMode mode
 
WGPUDeviceLostCallback callback
 
void * userdata1
 
void * userdata2
 

Detailed Description

Definition at line 1629 of file webgpu.h.

Field Documentation

◆ nextInChain

◆ 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

◆ userdata1

void* WGPUDeviceLostCallbackInfo::userdata1

◆ userdata2

void* WGPUDeviceLostCallbackInfo::userdata2