Utilitary class for various WebGPU callbacks methods.
More...
#include <vtkWebGPUCallbacksInternals.h>
|
| static void | DeviceLostCallback (const WGPUDevice *device, WGPUDeviceLostReason reason, char const *message, void *userdata=nullptr) |
| | Callback called when the WGPU device is lost.
|
| static void | UncapturedErrorCallback (WGPUErrorType type, char const *message, void *userdata=nullptr) |
| | Callback called when an error occured in the manipulation of WGPU.
|
| static void | PrintWGPUError (WGPUErrorType type, const char *message, void *userdata=nullptr) |
Utilitary class for various WebGPU callbacks methods.
Definition at line 14 of file vtkWebGPUCallbacksInternals.h.
◆ DeviceLostCallback()
| void vtkWebGPUCallbacksInternals::DeviceLostCallback |
( |
const WGPUDevice * | device, |
|
|
WGPUDeviceLostReason | reason, |
|
|
char const * | message, |
|
|
void * | userdata = nullptr ) |
|
static |
Callback called when the WGPU device is lost.
◆ UncapturedErrorCallback()
| void vtkWebGPUCallbacksInternals::UncapturedErrorCallback |
( |
WGPUErrorType | type, |
|
|
char const * | message, |
|
|
void * | userdata = nullptr ) |
|
static |
Callback called when an error occured in the manipulation of WGPU.
◆ PrintWGPUError()
| void vtkWebGPUCallbacksInternals::PrintWGPUError |
( |
WGPUErrorType | type, |
|
|
const char * | message, |
|
|
void * | userdata = nullptr ) |
|
static |
The documentation for this class was generated from the following file: