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 1553 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUAdapterInfo::nextInChain

Definition at line 1554 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 1560 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 1566 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 1572 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 1578 of file webgpu.h.

◆ backendType

WGPUBackendType WGPUAdapterInfo::backendType

The INIT macro sets this to WGPUBackendType_Undefined.

Definition at line 1582 of file webgpu.h.

◆ adapterType

WGPUAdapterType WGPUAdapterInfo::adapterType

The INIT macro sets this to (WGPUAdapterType)0.

Definition at line 1586 of file webgpu.h.

◆ vendorID

uint32_t WGPUAdapterInfo::vendorID

The INIT macro sets this to 0.

Definition at line 1590 of file webgpu.h.

◆ deviceID

uint32_t WGPUAdapterInfo::deviceID

The INIT macro sets this to 0.

Definition at line 1594 of file webgpu.h.

◆ subgroupMinSize

uint32_t WGPUAdapterInfo::subgroupMinSize

The INIT macro sets this to 0.

Definition at line 1598 of file webgpu.h.

◆ subgroupMaxSize

uint32_t WGPUAdapterInfo::subgroupMaxSize

The INIT macro sets this to 0.

Definition at line 1602 of file webgpu.h.