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

Data Fields

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

Detailed Description

Definition at line 1533 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUDeviceLostCallbackInfo::nextInChain

Definition at line 1534 of file webgpu.h.

◆ mode

WGPUCallbackMode WGPUDeviceLostCallbackInfo::mode

Controls when the callback may be called.

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

Definition at line 1540 of file webgpu.h.

◆ callback

WGPUDeviceLostCallback WGPUDeviceLostCallbackInfo::callback

Definition at line 1541 of file webgpu.h.

◆ userdata1

void* WGPUDeviceLostCallbackInfo::userdata1

Definition at line 1542 of file webgpu.h.

◆ userdata2

void* WGPUDeviceLostCallbackInfo::userdata2

Definition at line 1543 of file webgpu.h.