WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUCallbackInfo

Callback info structures that are used in asynchronous functions. More...

Data Structures

struct  WGPUBufferMapCallbackInfo
 
struct  WGPUCompilationInfoCallbackInfo
 
struct  WGPUCreateComputePipelineAsyncCallbackInfo
 
struct  WGPUCreateRenderPipelineAsyncCallbackInfo
 
struct  WGPUDeviceLostCallbackInfo
 
struct  WGPUPopErrorScopeCallbackInfo
 
struct  WGPUQueueWorkDoneCallbackInfo
 
struct  WGPURequestAdapterCallbackInfo
 
struct  WGPURequestDeviceCallbackInfo
 
struct  WGPUUncapturedErrorCallbackInfo
 

Macros

#define WGPU_BUFFER_MAP_CALLBACK_INFO_INIT
 
#define WGPU_COMPILATION_INFO_CALLBACK_INFO_INIT
 
#define WGPU_CREATE_COMPUTE_PIPELINE_ASYNC_CALLBACK_INFO_INIT
 
#define WGPU_CREATE_RENDER_PIPELINE_ASYNC_CALLBACK_INFO_INIT
 
#define WGPU_DEVICE_LOST_CALLBACK_INFO_INIT
 
#define WGPU_POP_ERROR_SCOPE_CALLBACK_INFO_INIT
 
#define WGPU_QUEUE_WORK_DONE_CALLBACK_INFO_INIT
 
#define WGPU_REQUEST_ADAPTER_CALLBACK_INFO_INIT
 
#define WGPU_REQUEST_DEVICE_CALLBACK_INFO_INIT
 
#define WGPU_UNCAPTURED_ERROR_CALLBACK_INFO_INIT
 

Typedefs

typedef struct WGPUBufferMapCallbackInfo WGPUBufferMapCallbackInfo
 
typedef struct WGPUCompilationInfoCallbackInfo WGPUCompilationInfoCallbackInfo
 
typedef struct WGPUCreateComputePipelineAsyncCallbackInfo WGPUCreateComputePipelineAsyncCallbackInfo
 
typedef struct WGPUCreateRenderPipelineAsyncCallbackInfo WGPUCreateRenderPipelineAsyncCallbackInfo
 
typedef struct WGPUDeviceLostCallbackInfo WGPUDeviceLostCallbackInfo
 
typedef struct WGPUPopErrorScopeCallbackInfo WGPUPopErrorScopeCallbackInfo
 
typedef struct WGPUQueueWorkDoneCallbackInfo WGPUQueueWorkDoneCallbackInfo
 
typedef struct WGPURequestAdapterCallbackInfo WGPURequestAdapterCallbackInfo
 
typedef struct WGPURequestDeviceCallbackInfo WGPURequestDeviceCallbackInfo
 
typedef struct WGPUUncapturedErrorCallbackInfo WGPUUncapturedErrorCallbackInfo
 

Detailed Description

Callback info structures that are used in asynchronous functions.

Macro Definition Documentation

◆ WGPU_BUFFER_MAP_CALLBACK_INFO_INIT

#define WGPU_BUFFER_MAP_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUBufferMapCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})
@ WGPUCallbackMode_WaitAnyOnly
Definition webgpu.h:392

Initializer for WGPUBufferMapCallbackInfo.

Definition at line 1328 of file webgpu.h.

◆ WGPU_COMPILATION_INFO_CALLBACK_INFO_INIT

#define WGPU_COMPILATION_INFO_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUCompilationInfoCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPUCompilationInfoCallbackInfo.

Definition at line 1347 of file webgpu.h.

◆ WGPU_CREATE_COMPUTE_PIPELINE_ASYNC_CALLBACK_INFO_INIT

#define WGPU_CREATE_COMPUTE_PIPELINE_ASYNC_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUCreateComputePipelineAsyncCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPUCreateComputePipelineAsyncCallbackInfo.

Definition at line 1366 of file webgpu.h.

◆ WGPU_CREATE_RENDER_PIPELINE_ASYNC_CALLBACK_INFO_INIT

#define WGPU_CREATE_RENDER_PIPELINE_ASYNC_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUCreateRenderPipelineAsyncCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPUCreateRenderPipelineAsyncCallbackInfo.

Definition at line 1385 of file webgpu.h.

◆ WGPU_DEVICE_LOST_CALLBACK_INFO_INIT

#define WGPU_DEVICE_LOST_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUDeviceLostCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPUDeviceLostCallbackInfo.

Definition at line 1404 of file webgpu.h.

◆ WGPU_POP_ERROR_SCOPE_CALLBACK_INFO_INIT

#define WGPU_POP_ERROR_SCOPE_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUPopErrorScopeCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPUPopErrorScopeCallbackInfo.

Definition at line 1423 of file webgpu.h.

◆ WGPU_QUEUE_WORK_DONE_CALLBACK_INFO_INIT

#define WGPU_QUEUE_WORK_DONE_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUQueueWorkDoneCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPUQueueWorkDoneCallbackInfo.

Definition at line 1442 of file webgpu.h.

◆ WGPU_REQUEST_ADAPTER_CALLBACK_INFO_INIT

#define WGPU_REQUEST_ADAPTER_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPURequestAdapterCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPURequestAdapterCallbackInfo.

Definition at line 1461 of file webgpu.h.

◆ WGPU_REQUEST_DEVICE_CALLBACK_INFO_INIT

#define WGPU_REQUEST_DEVICE_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPURequestDeviceCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.mode=*/WGPUCallbackMode_WaitAnyOnly _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPURequestDeviceCallbackInfo.

Definition at line 1480 of file webgpu.h.

◆ WGPU_UNCAPTURED_ERROR_CALLBACK_INFO_INIT

#define WGPU_UNCAPTURED_ERROR_CALLBACK_INFO_INIT
Value:
_wgpu_MAKE_INIT_STRUCT(WGPUUncapturedErrorCallbackInfo, { \
/*.nextInChain=*/NULL _wgpu_COMMA \
/*.callback=*/NULL _wgpu_COMMA \
/*.userdata1=*/NULL _wgpu_COMMA \
/*.userdata2=*/NULL _wgpu_COMMA \
})

Initializer for WGPUUncapturedErrorCallbackInfo.

Definition at line 1498 of file webgpu.h.