WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 1702 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUAdapterInfo::nextInChain

Definition at line 1703 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 1709 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 1715 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 1721 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 1727 of file webgpu.h.

◆ backendType

WGPUBackendType WGPUAdapterInfo::backendType

The INIT macro sets this to WGPUBackendType_Undefined.

Definition at line 1731 of file webgpu.h.

◆ adapterType

WGPUAdapterType WGPUAdapterInfo::adapterType

The INIT macro sets this to (WGPUAdapterType)0.

Definition at line 1735 of file webgpu.h.

◆ vendorID

uint32_t WGPUAdapterInfo::vendorID

The INIT macro sets this to 0.

Definition at line 1739 of file webgpu.h.

◆ deviceID

uint32_t WGPUAdapterInfo::deviceID

The INIT macro sets this to 0.

Definition at line 1743 of file webgpu.h.

◆ subgroupMinSize

uint32_t WGPUAdapterInfo::subgroupMinSize

The INIT macro sets this to 0.

Definition at line 1747 of file webgpu.h.

◆ subgroupMaxSize

uint32_t WGPUAdapterInfo::subgroupMaxSize

The INIT macro sets this to 0.

Definition at line 1751 of file webgpu.h.