WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
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
 

Detailed Description

Default values can be set using WGPU_ADAPTER_INFO_INIT as initializer.

Definition at line 1711 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUAdapterInfo::nextInChain

Definition at line 1712 of file webgpu.h.

◆ vendor

WGPUStringView WGPUAdapterInfo::vendor

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1718 of file webgpu.h.

◆ architecture

WGPUStringView WGPUAdapterInfo::architecture

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1724 of file webgpu.h.

◆ device

WGPUStringView WGPUAdapterInfo::device

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1730 of file webgpu.h.

◆ description

WGPUStringView WGPUAdapterInfo::description

This is an Output String.

The INIT macro sets this to WGPU_STRING_VIEW_INIT.

Definition at line 1736 of file webgpu.h.

◆ backendType

WGPUBackendType WGPUAdapterInfo::backendType

The INIT macro sets this to WGPUBackendType_Undefined.

Definition at line 1740 of file webgpu.h.

◆ adapterType

WGPUAdapterType WGPUAdapterInfo::adapterType

The INIT macro sets this to (WGPUAdapterType)0.

Definition at line 1744 of file webgpu.h.

◆ vendorID

uint32_t WGPUAdapterInfo::vendorID

The INIT macro sets this to 0.

Definition at line 1748 of file webgpu.h.

◆ deviceID

uint32_t WGPUAdapterInfo::deviceID

The INIT macro sets this to 0.

Definition at line 1752 of file webgpu.h.

◆ subgroupMinSize

uint32_t WGPUAdapterInfo::subgroupMinSize

The INIT macro sets this to 0.

Definition at line 1756 of file webgpu.h.

◆ subgroupMaxSize

uint32_t WGPUAdapterInfo::subgroupMaxSize

The INIT macro sets this to 0.

Definition at line 1760 of file webgpu.h.