WebGPU Headers: WGPUAdapterInfo Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUStringView vendor
 
WGPUStringView architecture
 
WGPUStringView device
 
WGPUStringView description
 
WGPUBackendType backendType
 
WGPUAdapterType adapterType
 
uint32_t vendorID
 
uint32_t deviceID
 
uint32_t subgroupMinSize
 
uint32_t subgroupMaxSize
 

Default values can be set using WGPU_ADAPTER_INFO_INIT as initializer.

Definition at line 1771 of file webgpu.h.

◆ nextInChain

◆ vendor

◆ architecture

◆ device

◆ description

◆ backendType

◆ adapterType

◆ vendorID

uint32_t WGPUAdapterInfo::vendorID

The INIT macro sets this to 0.

Definition at line 1808 of file webgpu.h.

◆ deviceID

uint32_t WGPUAdapterInfo::deviceID

The INIT macro sets this to 0.

Definition at line 1812 of file webgpu.h.

◆ subgroupMinSize

uint32_t WGPUAdapterInfo::subgroupMinSize

The INIT macro sets this to 0.

Definition at line 1816 of file webgpu.h.

◆ subgroupMaxSize

uint32_t WGPUAdapterInfo::subgroupMaxSize

The INIT macro sets this to 0.

Definition at line 1820 of file webgpu.h.