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

Callbacks through which asynchronous functions return. More...

Typedefs

typedef void(* WGPUAdapterRequestDeviceCallback) (WGPURequestDeviceStatus status, WGPUDevice device, char const *message, void *userdata)
 
typedef void(* WGPUBufferMapAsyncCallback) (WGPUBufferMapAsyncStatus status, void *userdata)
 
typedef void(* WGPUDeviceCreateComputePipelineAsyncCallback) (WGPUCreatePipelineAsyncStatus status, WGPUComputePipeline pipeline, char const *message, void *userdata)
 
typedef void(* WGPUDeviceCreateRenderPipelineAsyncCallback) (WGPUCreatePipelineAsyncStatus status, WGPURenderPipeline pipeline, char const *message, void *userdata)
 
typedef void(* WGPUInstanceRequestAdapterCallback) (WGPURequestAdapterStatus status, WGPUAdapter adapter, char const *message, void *userdata)
 
typedef void(* WGPUQueueOnSubmittedWorkDoneCallback) (WGPUQueueWorkDoneStatus status, void *userdata)
 
typedef void(* WGPUShaderModuleGetCompilationInfoCallback) (WGPUCompilationInfoRequestStatus status, struct WGPUCompilationInfo const *compilationInfo, void *userdata)
 

Detailed Description

Callbacks through which asynchronous functions return.

Typedef Documentation

◆ WGPUAdapterRequestDeviceCallback

typedef void(* WGPUAdapterRequestDeviceCallback) (WGPURequestDeviceStatus status, WGPUDevice device, char const *message, void *userdata)

Definition at line 788 of file webgpu.h.

◆ WGPUBufferMapAsyncCallback

typedef void(* WGPUBufferMapAsyncCallback) (WGPUBufferMapAsyncStatus status, void *userdata)

Definition at line 789 of file webgpu.h.

◆ WGPUDeviceCreateComputePipelineAsyncCallback

typedef void(* WGPUDeviceCreateComputePipelineAsyncCallback) (WGPUCreatePipelineAsyncStatus status, WGPUComputePipeline pipeline, char const *message, void *userdata)

Definition at line 790 of file webgpu.h.

◆ WGPUDeviceCreateRenderPipelineAsyncCallback

typedef void(* WGPUDeviceCreateRenderPipelineAsyncCallback) (WGPUCreatePipelineAsyncStatus status, WGPURenderPipeline pipeline, char const *message, void *userdata)

Definition at line 791 of file webgpu.h.

◆ WGPUInstanceRequestAdapterCallback

typedef void(* WGPUInstanceRequestAdapterCallback) (WGPURequestAdapterStatus status, WGPUAdapter adapter, char const *message, void *userdata)

Definition at line 792 of file webgpu.h.

◆ WGPUQueueOnSubmittedWorkDoneCallback

typedef void(* WGPUQueueOnSubmittedWorkDoneCallback) (WGPUQueueWorkDoneStatus status, void *userdata)

Definition at line 793 of file webgpu.h.

◆ WGPUShaderModuleGetCompilationInfoCallback

typedef void(* WGPUShaderModuleGetCompilationInfoCallback) (WGPUCompilationInfoRequestStatus status, struct WGPUCompilationInfo const *compilationInfo, void *userdata)

Definition at line 794 of file webgpu.h.