VTK  9.4.20241121
Static Public Member Functions | List of all members
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()

static void vtkWebGPUCallbacksInternals::DeviceLostCallback ( const WGPUDevice *  device,
WGPUDeviceLostReason  reason,
char const *  message,
void *  userdata = nullptr 
)
static

Callback called when the WGPU device is lost.

◆ UncapturedErrorCallback()

static void vtkWebGPUCallbacksInternals::UncapturedErrorCallback ( WGPUErrorType  type,
char const *  message,
void *  userdata = nullptr 
)
static

Callback called when an error occured in the manipulation of WGPU.

◆ PrintWGPUError()

static void vtkWebGPUCallbacksInternals::PrintWGPUError ( WGPUErrorType  type,
const char *  message,
void *  userdata = nullptr 
)
static

The documentation for this class was generated from the following file: