VTK  9.7.20261109
vtkWebGPUConfigurationInternals Class Reference

#include <vtkWebGPUConfigurationInternals.h>

Detailed Description

Definition at line 15 of file vtkWebGPUConfigurationInternals.h.

Public Member Functions

 ~vtkWebGPUConfigurationInternals ()
bool PopulateRequiredLimits (WGPUAdapter adapter)
 Stores the adapter limits for device creation.
void PopulateRequiredFeatures (WGPUAdapter adapter)
 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 WGPUBackendType ToWGPUBackendType (vtkWebGPUConfiguration::BackendType backend)
static vtkWebGPUConfiguration::BackendType FromWGPUBackendType (WGPUBackendType backend)
static WGPUPowerPreference ToWGPUPowerPreferenceType (vtkWebGPUConfiguration::PowerPreferenceType powerPreference)

Public Attributes

vtkWebGPU::Adapter Adapter
vtkWebGPU::Device Device
std::atomic< bool > RequestComplete { false }
bool DeviceReady = false
bool Timedout = false
WGPULimits RequiredLimits = WGPU_LIMITS_INIT
std::vector< WGPUFeatureName > RequiredFeatures
std::vector< vtkWebGPU::Buffer > BuffersPendingRelease

Static Public Attributes

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

Constructor & Destructor Documentation

◆ ~vtkWebGPUConfigurationInternals()

vtkWebGPUConfigurationInternals::~vtkWebGPUConfigurationInternals ( )

Member Function Documentation

◆ AddInstanceRef()

void vtkWebGPUConfigurationInternals::AddInstanceRef ( )
static

◆ ReleaseInstanceRef()

void vtkWebGPUConfigurationInternals::ReleaseInstanceRef ( )
static

◆ ToWGPUBackendType()

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

◆ FromWGPUBackendType()

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

◆ ToWGPUPowerPreferenceType()

WGPUPowerPreference vtkWebGPUConfigurationInternals::ToWGPUPowerPreferenceType ( vtkWebGPUConfiguration::PowerPreferenceType powerPreference)
static

◆ PopulateRequiredLimits()

bool vtkWebGPUConfigurationInternals::PopulateRequiredLimits ( WGPUAdapter adapter)

Stores the adapter limits for device creation.

Returns false if the query fails.

◆ PopulateRequiredFeatures()

void vtkWebGPUConfigurationInternals::PopulateRequiredFeatures ( WGPUAdapter adapter)

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

Optional features are requested only when adapter reports support for them.

Member Data Documentation

◆ Adapter

vtkWebGPU::Adapter vtkWebGPUConfigurationInternals::Adapter

Definition at line 20 of file vtkWebGPUConfigurationInternals.h.

◆ Device

vtkWebGPU::Device vtkWebGPUConfigurationInternals::Device

Definition at line 21 of file vtkWebGPUConfigurationInternals.h.

◆ RequestComplete

std::atomic<bool> vtkWebGPUConfigurationInternals::RequestComplete { false }

Definition at line 22 of file vtkWebGPUConfigurationInternals.h.

◆ DeviceReady

bool vtkWebGPUConfigurationInternals::DeviceReady = false

Definition at line 23 of file vtkWebGPUConfigurationInternals.h.

◆ Timedout

bool vtkWebGPUConfigurationInternals::Timedout = false

Definition at line 24 of file vtkWebGPUConfigurationInternals.h.

◆ DefaultTimeout

double vtkWebGPUConfigurationInternals::DefaultTimeout
static

Definition at line 27 of file vtkWebGPUConfigurationInternals.h.

◆ Instance

vtkWebGPU::Instance vtkWebGPUConfigurationInternals::Instance
static

Definition at line 29 of file vtkWebGPUConfigurationInternals.h.

◆ InstanceCount

std::size_t vtkWebGPUConfigurationInternals::InstanceCount
static

Definition at line 31 of file vtkWebGPUConfigurationInternals.h.

◆ RequiredLimits

WGPULimits vtkWebGPUConfigurationInternals::RequiredLimits = WGPU_LIMITS_INIT

Definition at line 33 of file vtkWebGPUConfigurationInternals.h.

◆ RequiredFeatures

std::vector<WGPUFeatureName> vtkWebGPUConfigurationInternals::RequiredFeatures

Definition at line 34 of file vtkWebGPUConfigurationInternals.h.

◆ BuffersPendingRelease

std::vector<vtkWebGPU::Buffer> vtkWebGPUConfigurationInternals::BuffersPendingRelease

Definition at line 40 of file vtkWebGPUConfigurationInternals.h.


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