VTK  9.4.20250130
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
vtkWebGPUConfigurationInternals Class Reference

#include <vtkWebGPUConfigurationInternals.h>

Public Member Functions

void PopulateRequiredLimits (wgpu::Adapter adapter)
 Stores the required limits needed for querying the device in the RequiredLimits attribute of this ConfigurationInternals.
 
void PopulateRequiredFeatures ()
 Stores the required features for querying the device in the RequiredFeatures vector of this ConfigurationInternals.
 

Static Public Member Functions

static void AddInstanceRef ()
 
static void ReleaseInstanceRef ()
 
static wgpu::BackendType ToWGPUBackendType (vtkWebGPUConfiguration::BackendType backend)
 
static vtkWebGPUConfiguration::BackendType FromWGPUBackendType (wgpu::BackendType backend)
 
static wgpu::PowerPreference ToWGPUPowerPreferenceType (vtkWebGPUConfiguration::PowerPreferenceType powerPreference)
 
static void OnAdapterRequestCompleted (WGPURequestAdapterStatus status, WGPUAdapter cAdapter, const char *message, void *userdata)
 
static void OnDeviceRequestCompleted (WGPURequestDeviceStatus status, WGPUDevice cDevice, const char *message, void *userdata)
 

Public Attributes

wgpu::Adapter Adapter
 
wgpu::Device Device
 
bool DeviceReady = false
 
wgpu::RequiredLimits RequiredLimits
 
std::vector< wgpu::FeatureName > RequiredFeatures
 

Static Public Attributes

static double DefaultTimeout
 
static wgpu::Instance Instance
 
static std::size_t InstanceCount
 

Detailed Description

Definition at line 11 of file vtkWebGPUConfigurationInternals.h.

Member Function Documentation

◆ AddInstanceRef()

static void vtkWebGPUConfigurationInternals::AddInstanceRef ( )
static

◆ ReleaseInstanceRef()

static void vtkWebGPUConfigurationInternals::ReleaseInstanceRef ( )
static

◆ ToWGPUBackendType()

static wgpu::BackendType vtkWebGPUConfigurationInternals::ToWGPUBackendType ( vtkWebGPUConfiguration::BackendType  backend)
static

◆ FromWGPUBackendType()

static vtkWebGPUConfiguration::BackendType vtkWebGPUConfigurationInternals::FromWGPUBackendType ( wgpu::BackendType  backend)
static

◆ ToWGPUPowerPreferenceType()

static wgpu::PowerPreference vtkWebGPUConfigurationInternals::ToWGPUPowerPreferenceType ( vtkWebGPUConfiguration::PowerPreferenceType  powerPreference)
static

◆ OnAdapterRequestCompleted()

static void vtkWebGPUConfigurationInternals::OnAdapterRequestCompleted ( WGPURequestAdapterStatus  status,
WGPUAdapter  cAdapter,
const char *  message,
void *  userdata 
)
static

◆ PopulateRequiredLimits()

void vtkWebGPUConfigurationInternals::PopulateRequiredLimits ( wgpu::Adapter  adapter)

Stores the required limits needed for querying the device in the RequiredLimits attribute of this ConfigurationInternals.

◆ PopulateRequiredFeatures()

void vtkWebGPUConfigurationInternals::PopulateRequiredFeatures ( )

Stores the required features for querying the device in the RequiredFeatures vector of this ConfigurationInternals.

◆ OnDeviceRequestCompleted()

static void vtkWebGPUConfigurationInternals::OnDeviceRequestCompleted ( WGPURequestDeviceStatus  status,
WGPUDevice  cDevice,
const char *  message,
void *  userdata 
)
static

Member Data Documentation

◆ Adapter

wgpu::Adapter vtkWebGPUConfigurationInternals::Adapter

Definition at line 14 of file vtkWebGPUConfigurationInternals.h.

◆ Device

wgpu::Device vtkWebGPUConfigurationInternals::Device

Definition at line 15 of file vtkWebGPUConfigurationInternals.h.

◆ DeviceReady

bool vtkWebGPUConfigurationInternals::DeviceReady = false

Definition at line 16 of file vtkWebGPUConfigurationInternals.h.

◆ DefaultTimeout

double vtkWebGPUConfigurationInternals::DefaultTimeout
static

Definition at line 19 of file vtkWebGPUConfigurationInternals.h.

◆ Instance

wgpu::Instance vtkWebGPUConfigurationInternals::Instance
static

Definition at line 21 of file vtkWebGPUConfigurationInternals.h.

◆ InstanceCount

std::size_t vtkWebGPUConfigurationInternals::InstanceCount
static

Definition at line 23 of file vtkWebGPUConfigurationInternals.h.

◆ RequiredLimits

wgpu::RequiredLimits vtkWebGPUConfigurationInternals::RequiredLimits

Definition at line 25 of file vtkWebGPUConfigurationInternals.h.

◆ RequiredFeatures

std::vector<wgpu::FeatureName> vtkWebGPUConfigurationInternals::RequiredFeatures

Definition at line 26 of file vtkWebGPUConfigurationInternals.h.


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