VTK  9.4.20251007
vtkWebGPUCallbacksInternals Class Reference

Utilitary class for various WebGPU callbacks methods. More...

#include <vtkWebGPUCallbacksInternals.h>

Static Public Member Functions

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)

Detailed Description

Utilitary class for various WebGPU callbacks methods.

Definition at line 14 of file vtkWebGPUCallbacksInternals.h.

Member Function Documentation

◆ 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: