WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUAdapterInfo Struct Reference

Data Fields

WGPUChainedStructOutnextInChain
 
WGPUStringView vendor
 
WGPUStringView architecture
 
WGPUStringView device
 
WGPUStringView description
 
WGPUBackendType backendType
 
WGPUAdapterType adapterType
 
uint32_t vendorID
 
uint32_t deviceID
 

Detailed Description

Default values can be set using WGPU_ADAPTER_INFO_INIT as initializer.

Definition at line 1510 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStructOut* WGPUAdapterInfo::nextInChain

Definition at line 1511 of file webgpu.h.

◆ vendor

WGPUStringView WGPUAdapterInfo::vendor

This is an Output String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 1517 of file webgpu.h.

◆ architecture

WGPUStringView WGPUAdapterInfo::architecture

This is an Output String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 1523 of file webgpu.h.

◆ device

WGPUStringView WGPUAdapterInfo::device

This is an Output String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 1529 of file webgpu.h.

◆ description

WGPUStringView WGPUAdapterInfo::description

This is an Output String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 1535 of file webgpu.h.

◆ backendType

WGPUBackendType WGPUAdapterInfo::backendType

Defaults to WGPUBackendType_Undefined.

Definition at line 1539 of file webgpu.h.

◆ adapterType

WGPUAdapterType WGPUAdapterInfo::adapterType

Defaults to (WGPUAdapterType)0.

Definition at line 1543 of file webgpu.h.

◆ vendorID

uint32_t WGPUAdapterInfo::vendorID

Defaults to 0.

Definition at line 1547 of file webgpu.h.

◆ deviceID

uint32_t WGPUAdapterInfo::deviceID

Defaults to 0.

Definition at line 1551 of file webgpu.h.