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

Data Fields

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

Detailed Description

Definition at line 1605 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPURequestAdapterCallbackInfo::nextInChain

Definition at line 1606 of file webgpu.h.

◆ mode

WGPUCallbackMode WGPURequestAdapterCallbackInfo::mode

Controls when the callback may be called.

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

Definition at line 1612 of file webgpu.h.

◆ callback

WGPURequestAdapterCallback WGPURequestAdapterCallbackInfo::callback

Definition at line 1613 of file webgpu.h.

◆ userdata1

void* WGPURequestAdapterCallbackInfo::userdata1

Definition at line 1614 of file webgpu.h.

◆ userdata2

void* WGPURequestAdapterCallbackInfo::userdata2

Definition at line 1615 of file webgpu.h.